X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/f27c218d18ebf7198e07249aca1eed625da914fd..5de53f103d295086898889bfa39bb49335914470:/Server/include/plaqui/server/httpheaders.h diff --git a/Server/include/plaqui/server/httpheaders.h b/Server/include/plaqui/server/httpheaders.h index 86a2dd1..23470f3 100644 --- a/Server/include/plaqui/server/httpheaders.h +++ b/Server/include/plaqui/server/httpheaders.h @@ -29,6 +29,7 @@ #define PLAQUI_HTTPHEADERS_H #include "plaqui/server/httperror.h" +#include #include #include #include @@ -54,13 +55,13 @@ namespace Server { * Obtiene los datos de las cabeceras HTTP desde un texto. */ friend std::istream& operator>>(std::istream& is, HTTPHeaders& h) - throw(HTTPError); + throw(HTTPError, sockerr, ios::failure); /** * Convierte las cabeceras HTTP a texto. */ friend std::ostream& operator<<(std::ostream& os, - const HTTPHeaders& h); + const HTTPHeaders& h) throw(sockerr); };