8000 Support for Transfer-Encoding headers that specify "identify" · espressif/arduino-esp32@ed503f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit ed503f3

Browse files
author
t-oot
committed
Support for Transfer-Encoding headers that specify "identify"
1 parent c5a1f3e commit ed503f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/HTTPClient/src/HTTPClient.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,6 +1264,8 @@ int HTTPClient::handleHeaderResponse()
12641264
log_d("Transfer-Encoding: %s", transferEncoding.c_str());
12651265
if(transferEncoding.equalsIgnoreCase("chunked")) {
12661266
_transferEncoding = HTTPC_TE_CHUNKED;
1267+
} else if(transferEncoding.equalsIgnoreCase("identity")) {
1268+
_transferEncoding = HTTPC_TE_IDENTITY;
12671269
} else {
12681270
return HTTPC_ERROR_ENCODING;
12691271
}

0 commit comments

Comments
 (0)
0