arduino-pico/libraries/HTTPClient
Earle F. Philhower, III f4de3cbd6d
Rewrite HTTPClient chunked transfer-encoding (#3034)
* Rewrite HTTPClient chunked transfer-encoding

Fixes #3029

The chunked decoder seems to have had some race conditions resulting in
lost data.

The HTTPClient::getStreamPtr returned the raw WiFiClient which included
all of the chunked block size markers, requiring the user to manually
parse the chunked encoding.

Remove the existing chunked handling, add a HTTPStream as a WiFiClient
subclass.  The HTTPClient will return this HTTPStream which will always
properly cut out chunk markers when present (and pass things raw for
non-encoded streams).  Use this new HTTPStream class to replace the
existing handling in HTTPClient

Update the fingerprint in the StreamHTTPSClient example because their
cert was updated.

* Astyle

* Add block write passthru

* Add other WiFiClient passthru calls
2025-07-11 12:12:46 -07:00
..
examples Rewrite HTTPClient chunked transfer-encoding (#3034) 2025-07-11 12:12:46 -07:00
src Rewrite HTTPClient chunked transfer-encoding (#3034) 2025-07-11 12:12:46 -07:00
keywords.txt Add HTTPClient, ported from the ESP8266 (#784) 2022-08-21 12:49:06 -07:00
library.properties Add HTTPClient, ported from the ESP8266 (#784) 2022-08-21 12:49:06 -07:00