]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/httprequest.h
Pocos cambios a la vista del "usuario":
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / httprequest.h
index ace04f077d8f1bb62d90b2b17f6033cf2e5099af..a5a3647f29a5f15c8b6f6e4ace553c37620f0dc7 100644 (file)
@@ -28,7 +28,8 @@
 #ifndef PLAQUI_HTTPREQUEST_H
 #define PLAQUI_HTTPREQUEST_H
 
-#include "httpmessage.h"
+#include "plaqui/server/httperror.h"
+#include "plaqui/server/httpmessage.h"
 #include <string>
 #include <istream>
 #include <ostream>
@@ -114,7 +115,8 @@ namespace Server {
                        /**
                         * Obtiene los datos del pedido HTTP desde un texto.
                         */
-                       friend std::istream& operator>>(std::istream& is, HTTPRequest& req);
+                       friend std::istream& operator>>(std::istream& is, HTTPRequest& req)
+                               throw(HTTPError, std::ios::failure);
 
                        /**
                         * Convierte el pedido HTTP en texto.