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 bug where a forwarded request's Content-Type was omitted if Content-Length is 0 #1515

Merged
merged 1 commit into from Dec 11, 2017

Conversation

shaan1337
Copy link
Member

Fixes #1509 which is one particular case of this bug

According to RFC 2616 (HTTP/1.1):
Any Content-Length greater than or equal to zero is a valid value.

but HasEntityBody returns true only if Content-Length > 0

@hayley-jean hayley-jean merged commit 07386fd into release-v4.0.4 Dec 11, 2017
@hayley-jean hayley-jean deleted the fix-forwarding-content-bug branch December 11, 2017 11:22
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.

None yet

2 participants