X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/f27c218d18ebf7198e07249aca1eed625da914fd..9523acd2d7be7b8bbbf6d8c786c68c91f9fcc700:/Server/include/plaqui/server/httpmessage.h?ds=sidebyside diff --git a/Server/include/plaqui/server/httpmessage.h b/Server/include/plaqui/server/httpmessage.h index 730bf0a..30bc794 100644 --- a/Server/include/plaqui/server/httpmessage.h +++ b/Server/include/plaqui/server/httpmessage.h @@ -45,6 +45,8 @@ namespace Server { /// \todo TODO completar codigos. static const unsigned OK = 200; static const unsigned BAD_REQUEST = 401; + static const unsigned NOT_FOUND = 404; + static const unsigned CONFLICT = 409; static const unsigned LENGTH_REQUIRED = 411; static const unsigned INTERNAL_SERVER_ERROR = 500; static const unsigned NOT_IMPLEMENTED = 501; @@ -57,9 +59,7 @@ namespace Server { /// Cuerpo del mensaje. std::string body; - protected: // TODO hacer privados con get() y set() ??? - - public: + public: // TODO hacer privados con get() y set() ??? /// Version HTTP. std::string version;