X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/b92547a5de3a3fb4f14a2bea4a4e776b8da3cb5c..d664a4c16bb56138b53e8d6dba92e199bd3ea6c7:/Server/include/plaqui/server/httpheaders.h?ds=sidebyside diff --git a/Server/include/plaqui/server/httpheaders.h b/Server/include/plaqui/server/httpheaders.h index 1a9c5aa..86a2dd1 100644 --- a/Server/include/plaqui/server/httpheaders.h +++ b/Server/include/plaqui/server/httpheaders.h @@ -28,6 +28,7 @@ #ifndef PLAQUI_HTTPHEADERS_H #define PLAQUI_HTTPHEADERS_H +#include "plaqui/server/httperror.h" #include #include #include @@ -40,6 +41,8 @@ namespace Server { /// Cabeceras HTTP. class HTTPHeaders: public std::map { + // Métodos. + public: /** @@ -50,7 +53,8 @@ namespace Server { /** * Obtiene los datos de las cabeceras HTTP desde un texto. */ - friend std::istream& operator>>(std::istream& is, HTTPHeaders& h); + friend std::istream& operator>>(std::istream& is, HTTPHeaders& h) + throw(HTTPError); /** * Convierte las cabeceras HTTP a texto.