]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/httprequest.h
Se vuelve a poner el flag de debug, lo cambie sin querer el commit pasado.
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / httprequest.h
index 0f2145268fe3fa16f52abe2c89b9bccf04f40d06..92c6de70fe1c54ad368b9978aeab5dbdb7586404 100644 (file)
@@ -104,13 +104,12 @@ namespace Server {
                        HTTPRequest(const std::string& uri = "/",
                                        const HTTPMethod& method = GET,
                                        const std::string& query = "",
-                                       const std::string& http = "1.1");
+                                       const std::string& version = "1.1");
 
                        /**
                         * Obtiene los datos del pedido HTTP desde un texto.
                         */
-                       friend std::istream& operator>>(std::istream& is,
-                                       const HTTPRequest& req);
+                       friend std::istream& operator>>(std::istream& is, HTTPRequest& req);
 
                        /**
                         * Convierte el pedido HTTP en texto.