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 for incorrect Content-Length: 0 handling #65

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

ghu
Copy link
Contributor

@ghu ghu commented Apr 22, 2024

If the Content-Length header is set to 0, the client must not read the content from the stream, otherwise it hangs waiting for data. Redirect responses (302, 307) usually have no content and have Content-Length: 0

If the Content-Length header is set to 0, the client must not read the content from the stream, otherwise it hangs waiting for data. 
Redirect responses (302, 307) usally have no content and have Content-Length: 0
@jayjamesjay jayjamesjay changed the base branch from master to v0.11 June 20, 2024 06:04
@jayjamesjay jayjamesjay merged commit e1f8622 into jayjamesjay:v0.11 Jun 20, 2024
@jayjamesjay jayjamesjay mentioned this pull request Jun 27, 2024
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.

2 participants