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

fix: avoid IncompleteRead on completed partial reads #1827

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

fcanovai
Copy link
Contributor

Fix a bug in which the server would return a 416 reply with an empty body declaring a Content-Length of 1.

Closes #1761

Fix a bug in which the server would return a 416 reply with an
empty body declaring a Content-Length of 1.

Closes fsouza#1761

Signed-off-by: Francesco Canovai <[email protected]>
Copy link
Owner

@fsouza fsouza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing! Can you add a test?

@fsouza fsouza merged commit d66abd9 into fsouza:main Jan 3, 2025
42 checks passed
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.

ChunkedEncodingError when reading a file in parts
2 participants