mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
yrequest: remove double Connection->Method = M_PUT
Origin commit data
------------------
Branch: ni/coolstream
Commit: d41f190b4d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-03-07 (Mon, 07 Mar 2016)
Origin message was:
------------------
- yrequest: remove double Connection->Method = M_PUT
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -124,9 +124,8 @@ bool CWebserverRequest::ParseStartLine(std::string start_line) {
|
||||
analyzeURL(url);
|
||||
UrlData["httprotocol"] = Connection->httprotocol;
|
||||
// determine http Method
|
||||
if (method.compare("POST") == 0) Connection->Method = M_POST;
|
||||
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