Skip to content

Don't add Content-Encoding and Transfer-Encoding if no body#891

Merged
asvetlov merged 1 commit intomasterfrom
remove-content-headers-no-body
Jun 3, 2016
Merged

Don't add Content-Encoding and Transfer-Encoding if no body#891
asvetlov merged 1 commit intomasterfrom
remove-content-headers-no-body

Conversation

@danielnelson
Copy link
Copy Markdown
Contributor

This is a fix for issue #117.

This fix disables setting the Content-Encoding and Transfer-Encoding headers when a request is created with compress=True but does not have a body.

@coveralls
Copy link
Copy Markdown

coveralls commented May 31, 2016

Coverage Status

Coverage increased (+0.0006%) to 98.213% when pulling be7bfb8 on remove-content-headers-no-body into be9a084 on master.

@asvetlov asvetlov added the sprint label Jun 2, 2016
@asvetlov asvetlov merged commit cd894e1 into master Jun 3, 2016
@asvetlov asvetlov deleted the remove-content-headers-no-body branch June 3, 2016 18:58
@asvetlov
Copy link
Copy Markdown
Member

asvetlov commented Jun 3, 2016

Thanks!

@lock
Copy link
Copy Markdown

lock bot commented Oct 29, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants