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

Don't assume Content-Encoding: identity when request is 1xx, 204 or 304 #38

Merged
merged 1 commit into from
Jan 14, 2016

Conversation

sschepens
Copy link
Contributor

Should fix #37
It replicates the logic in header.go#L200
Another way to fix this would be to assume default content-length: 0
Transfer-Encoding: identity appears to have been deprecated anyways

valyala added a commit that referenced this pull request Jan 14, 2016
Don't assume Content-Encoding: identity when request is 1xx, 204 or 304
@valyala valyala merged commit 5b39086 into valyala:master Jan 14, 2016
@valyala
Copy link
Owner

valyala commented Jan 14, 2016

@sschepens , the pull request has been merged. Thanks!

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.

Connection Close on 204 No Content
2 participants