mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- yrequest: remove double Connection->Method = M_PUT
This commit is contained in:
@@ -126,7 +126,6 @@ bool CWebserverRequest::ParseStartLine(std::string start_line) {
|
||||
// determine http Method
|
||||
if (method.compare("POST") == 0) Connection->Method = M_POST;
|
||||
else if (method.compare("GET") == 0) Connection->Method = M_GET;
|
||||
else if (method.compare("PUT") == 0) Connection->Method = M_PUT;
|
||||
else if (method.compare("HEAD") == 0) Connection->Method = M_HEAD;
|
||||
else if (method.compare("PUT") == 0) Connection->Method = M_PUT;
|
||||
else if (method.compare("DELETE") == 0) Connection->Method = M_DELETE;
|
||||
|
Reference in New Issue
Block a user