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

Add original content encoding and length to responses #1409

Merged

Conversation

jeskew
Copy link
Contributor

@jeskew jeskew commented Feb 23, 2016

This PR adds new headers to responses that have been decoded. It's a potential resolution to #1397; when content has been decoded, the original Content-Encoding and Content-Length header values will be saved to the 'x-encoded-content-encoding' and 'x-encoded-content-length' headers, respectively.

@jeskew
Copy link
Contributor Author

jeskew commented Feb 26, 2016

/cc @mtdowling @jeremeamia

mtdowling added a commit that referenced this pull request Mar 5, 2016
…n-decode

Add original content encoding and length to responses
@mtdowling mtdowling merged commit 30f8346 into guzzle:master Mar 5, 2016
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