Commit 0eb064a
authored
chore(release): 5.15.0 (#152)
* feat(http-request): add stream option and response metadata to downloads
Add stream option to httpRequest — resolves with HttpResponse immediately
after headers arrive, leaving rawResponse unconsumed for piping to files.
Refactor httpDownloadAttempt to use httpRequestAttempt with stream: true,
eliminating ~120 lines of duplicated HTTP plumbing (redirect handling,
protocol selection, error enrichment).
Add headers, ok, status, and statusText to HttpDownloadResult so callers
can inspect response metadata after streaming downloads.
* chore(release): 5.15.01 parent f14f1fb commit 0eb064a
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
8 | 19 | | |
9 | 20 | | |
10 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments