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
We've been using your example with great success for a while but have recently run into an issue with file downloads. After digging in to the issue, it turns out the https_client used in this example is not compliant with HTTP 1.1.
Per the HTTP 1.1 spec:
All HTTP/1.1 applications MUST be able to receive and decode the "chunked" transfer-coding, and MUST ignore chunk-extension extensions they do not understand.
When a response is chunked, no Content-Length header is sent (see here for more details); however, the HTTPS client will fail if the Content-Length header is not set in the response:
We've been using your example with great success for a while but have recently run into an issue with file downloads. After digging in to the issue, it turns out the https_client used in this example is not compliant with HTTP 1.1.
Per the HTTP 1.1 spec:
When a response is chunked, no
Content-Length
header is sent (see here for more details); however, the HTTPS client will fail if theContent-Length
header is not set in the response:esp32-ota-https/main/https_client.c
Lines 215 to 225 in 88c001b
The text was updated successfully, but these errors were encountered: