Make it compile, lowercase methods

This commit is contained in:
Alex Hultman
2019-12-26 01:03:50 +01:00
parent d3b43e3fa1
commit 6d1a6ba1bd
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ struct HttpRouter {
USERDATA userData;
std::vector<std::string> methods = {"GET", "POST", "HEAD", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"};
std::vector<std::string> methods = {"get", "post", "head", "put", "delete", "connect", "options", "trace", "patch"};
/* 32-bit */
const static uint32_t HANDLER_MASK = 0x0fffffff;