Skip to content

fix: download the cmdline-tools zip when a proxy re-encodes the response - #27

Merged
wswebcreation merged 1 commit into
mainfrom
ws/fix-package-list-format
Oct 12, 2026
Merged

wswebcreation merged 1 commit into
mainfrom
ws/fix-package-list-format

Conversation

@wswebcreation

Copy link
Copy Markdown
Owner

Send accept-encoding: identity and skip the length check when the response has a content-encoding, since content-length is then the encoded size. Only fail when fewer bytes arrive than expected, and restart without a range when the part file is larger than the real file (416) instead of reporting a lost connection.

Send accept-encoding: identity and skip the length check when the response
has a content-encoding, since content-length is then the encoded size. Only
fail when fewer bytes arrive than expected, and restart without a range when
the part file is larger than the real file (416) instead of reporting a lost
connection.
@wswebcreation wswebcreation added the PR: Bug Fix 🐛 PRs that contain bug fixes label Oct 12, 2026
@wswebcreation
wswebcreation merged commit a418114 into main Oct 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Bug Fix 🐛 PRs that contain bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant