We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14bd3d9 + 319caba commit 5422eabCopy full SHA for 5422eab
libraries/ESP8266WebServer/src/Parsing.cpp
@@ -107,7 +107,8 @@ bool ESP8266WebServer::_parseRequest(WiFiClient& client) {
107
break;
108
}
109
headerName = req.substring(0, headerDiv);
110
- headerValue = req.substring(headerDiv + 2);
+ headerValue = req.substring(headerDiv + 1);
111
+ headerValue.trim();
112
_collectHeader(headerName.c_str(),headerValue.c_str());
113
114
#ifdef DEBUG
0 commit comments