]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/httpresponse.h
- Se agrega el método HTTPRequest::method_str() para obtener el método como un
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / httpresponse.h
index 462c0829c879a81ca95e503720bed9ec7353fd37..f4a2db093da3406a94cfc9e8e2ff044974d0833e 100644 (file)
@@ -73,7 +73,8 @@ namespace Server {
                        /**
                         * Constructor.
                         */
-                       HTTPResponse(const std::string& version = "1.1");
+                       HTTPResponse(const std::string& body = "",
+                                       const std::string& version = "1.1");
 
                        /**
                         * Constructor.