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 1 commit into from Dec 11, 2017


2 participants

shaan1337 commented Dec 11, 2017

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

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
wercker/build-mono4 Wercker pipeline passed

@hayley-jean hayley-jean deleted the fix-forwarding-content-bug branch Dec 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment