diff --git a/cinderblock.xml b/cinderblock.xml index 99f0255..9c57f14 100644 --- a/cinderblock.xml +++ b/cinderblock.xml @@ -1,12 +1,13 @@ diff --git a/src/cinder/http/request_response.hpp b/src/cinder/http/request_response.hpp index 4bdeec7..4edbaa9 100644 --- a/src/cinder/http/request_response.hpp +++ b/src/cinder/http/request_response.hpp @@ -14,7 +14,9 @@ namespace http { enum class RequestMethod { GET, - POST + POST, + PUT, + DEL }; using RequestRef = std::shared_ptr; @@ -45,6 +47,8 @@ struct Request { switch( method ) { case RequestMethod::GET: return "GET"; break; case RequestMethod::POST: return "POST"; break; + case RequestMethod::PUT: return "PUT"; break; + case RequestMethod::DEL: return "DELETE"; break; default: return "GET"; break; } }