]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/httpheaders.h
arregle un poquito la and
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / httpheaders.h
index 86a2dd1b3d96a49430780c1356d397351ff63187..23470f3e33f0597392274265bfaf0525b5a9c9f1 100644 (file)
@@ -29,6 +29,7 @@
 #define PLAQUI_HTTPHEADERS_H
 
 #include "plaqui/server/httperror.h"
+#include <socket++/sockstream.h>
 #include <map>
 #include <string>
 #include <istream>
@@ -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);
 
        };