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

Accept content-encoding identity #515

Merged
merged 1 commit into from
Jun 2, 2018
Merged

Accept content-encoding identity #515

merged 1 commit into from
Jun 2, 2018

Conversation

MrChrisW
Copy link
Contributor

identity is a valid content-encoding header value https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding

Fixes #385

@MrChrisW
Copy link
Contributor Author

Looks like there's legacy references to identity in the enable_gzip function

def enable_gzip request
request['accept-encoding'] = if @gzip_enabled
'gzip,deflate,identity'
else
'identity'
end

@knu knu merged commit bbb83b7 into sparklemotion:master Jun 2, 2018
@knu
Copy link
Member

knu commented Jun 2, 2018

Thanks!

@MrChrisW MrChrisW deleted the mrchrisw/allow-response-encoding-identity branch June 2, 2018 04:09
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