Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cope with zero-length http downloads w/o Content-Length header #1080

Merged
merged 1 commit into from
Jun 20, 2022

Conversation

mkke
Copy link
Contributor

@mkke mkke commented Jun 14, 2022

Fixes #999

Description of the Change

Cope with web servers responding with HTTP Code 200 but no Content-Length header for zero-length files.

@randombenj randombenj self-requested a review June 15, 2022 08:21
@randombenj randombenj merged commit 4b2efee into aptly-dev:master Jun 20, 2022
@randombenj randombenj added this to the 1.5.0 milestone Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mirror update breaks if optional content-length header is missing for files with 0 size
2 participants