forked from espressif/arduino-esp32
Merge branch 'master' into idf-release/v4.2
This commit is contained in:
@ -1199,6 +1199,7 @@ int HTTPClient::handleHeaderResponse()
|
||||
log_v("RX: '%s'", headerLine.c_str());
|
||||
|
||||
if(firstLine) {
|
||||
firstLine = false;
|
||||
if(_canReuse && headerLine.startsWith("HTTP/1.")) {
|
||||
_canReuse = (headerLine[sizeof "HTTP/1." - 1] != '0');
|
||||
}
|
||||
|
Reference in New Issue
Block a user