X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/f27c218d18ebf7198e07249aca1eed625da914fd..d664a4c16bb56138b53e8d6dba92e199bd3ea6c7:/Server/include/plaqui/server/httpresponse.h?ds=sidebyside diff --git a/Server/include/plaqui/server/httpresponse.h b/Server/include/plaqui/server/httpresponse.h index bc8f900..f4a2db0 100644 --- a/Server/include/plaqui/server/httpresponse.h +++ b/Server/include/plaqui/server/httpresponse.h @@ -52,7 +52,8 @@ namespace Server { // Atributos. - protected: + //protected: FIXME - hacer privado con get/set? + public: /// Código de estado. unsigned status_code; @@ -72,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.