]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/httpmessage.h
Se arregla un bug y se ponen caudales > 0 en el ejemplo :)
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / httpmessage.h
index 2f6f9578ad6b2accf143e78aae4454a87ef6b2cd..30bc794de5dd336709934409ce984f5df2826dd6 100644 (file)
@@ -46,6 +46,7 @@ namespace Server {
                        static const unsigned OK                         = 200;
                        static const unsigned BAD_REQUEST                = 401;
                        static const unsigned NOT_FOUND                  = 404;
                        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;
                        static const unsigned LENGTH_REQUIRED            = 411;
                        static const unsigned INTERNAL_SERVER_ERROR      = 500;
                        static const unsigned NOT_IMPLEMENTED            = 501;
@@ -58,9 +59,7 @@ namespace Server {
                        /// Cuerpo del mensaje.
                        std::string body;
 
                        /// 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;
 
                        /// Version HTTP.
                        std::string version;