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
{{ message }}
This repository was archived by the owner on Aug 3, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,9 @@ All notable changes to this project will be documented in this file.
8
8
- Streaming download API via `getStream()` for binary or arbitrary content (no JSON handling).
9
9
- Chunk-based delivery using `FetchChunkCallback` to process large payloads incrementally (files, firmware, blobs).
10
10
- Completion callback with `StreamResult` containing transport error, HTTP status code, and total received byte count.
11
+
- Status-gated streaming overloads with `FetchStreamStartCallback` and
12
+
`StreamStartInfo` so callers can reject non-`2xx` responses before any body
13
+
chunk is processed.
11
14
- Per-request streaming size limits via `FetchRequestOptions::maxBodyBytes` (default: unlimited for streams).
12
15
- Added global (`FetchConfig`) and per-request (`FetchRequestOptions`) TX/RX HTTP client buffer sizing controls.
13
16
- Added explicit HTTPS trust-source configuration to `FetchConfig` and per-request TLS overrides to `FetchRequestOptions` (`caCertPem`, `useTlsCertBundle`, `useGlobalCaStore`, `skipTlsServerCertValidation`, `skipTlsCommonNameCheck`).
@@ -18,6 +21,9 @@ All notable changes to this project will be documented in this file.
18
21
- Added `isInitialized()` as the public runtime-state contract accessor.
19
22
20
23
### Fixed
24
+
- Stream requests can now resolve HTTP status, content length, and chunked mode
25
+
before chunk delivery when callers use the new status-aware overload, which
26
+
prevents OTA/file consumers from processing HTML or error bodies as payload.
21
27
- Normalize malformed `http:/` or `https:/` URLs to `http://`/`https://` to avoid DNS failures with parsed hosts like `:example.com`.
22
28
- Collapse extra slashes (`https:///`) and strip a leading `://:` host typo before handing URLs to esp_http_client.
23
29
- HTTPS requests now default to ESP certificate-bundle verification, matching the expected mixed Arduino + ESP-IDF transport behavior for public endpoints.
0 commit comments