Merge branch 'earlephilhower:master' into fruitjam_update

This commit is contained in:
Liz 2025-08-04 14:50:24 -04:00 committed by GitHub
commit 4634aabff5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1154,6 +1154,9 @@ int HTTPClient::handleHeaderResponse() {
DEBUG_HTTPCLIENT("[HTTP-Client][handleHeaderResponse] Transfer-Encoding: %s\n", transferEncoding.c_str());
if (transferEncoding.equalsIgnoreCase(F("chunked"))) {
_transferEncoding = HTTPC_TE_CHUNKED;
} else if (transferEncoding.equalsIgnoreCase(F("identity"))) {
// Not in the RFC but seen in the wild
_transferEncoding = HTTPC_TE_IDENTITY;
} else {
_returnCode = HTTPC_ERROR_ENCODING;
return _returnCode;