_determine_location() new version (to complete and test)

This commit is contained in:
LuckyLaszlo
2022-08-09 20:47:21 +02:00
parent 56f4cf7e15
commit 1eb989a3fd
3 changed files with 55 additions and 19 deletions

View File

@@ -79,9 +79,6 @@ http_method str_to_http_method(std::string &str)
return POST;
else if (str == "DELETE")
return DELETE;
else if (str == "ALL_METHODS") // for Eric: why this test ? can we delete it?
return ANY_METHODS;
// would prefere ALL_METHODS
return UNKNOWN;
}