You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Library automatically adds the header "Accept-Encoding: identity;q=1,chunked;q=0.1,*;q=0\r\n", except when using HTTP1.0.
This can be a problem in some cases and can not be changed without editing the library source.
Adding a custom Accept-Encoding-header with addHeader() will result in two headers beeing sent.
Describe the solution you'd like
Add a function e.g. HTTPClient::setAcceptEncoding similar to HTTPClient::setUserAgent for overriding the default Accept-Encoding header.
Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
I confirm I have checked existing list of Feature requests and Contribution Guide.
The text was updated successfully, but these errors were encountered:
Related area
HTTPClient
Hardware specification
all ESP32 boards
Is your feature request related to a problem?
Currently the Library automatically adds the header
"Accept-Encoding: identity;q=1,chunked;q=0.1,*;q=0\r\n"
, except when using HTTP1.0.This can be a problem in some cases and can not be changed without editing the library source.
Adding a custom Accept-Encoding-header with
addHeader()
will result in two headers beeing sent.Describe the solution you'd like
Add a function e.g.
HTTPClient::setAcceptEncoding
similar toHTTPClient::setUserAgent
for overriding the default Accept-Encoding header.Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: