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 support for zlib decompression #231

Open
AlstonLin opened this issue Dec 6, 2017 · 0 comments
Open

Add support for zlib decompression #231

AlstonLin opened this issue Dec 6, 2017 · 0 comments

Comments

@AlstonLin
Copy link
Contributor

AlstonLin commented Dec 6, 2017

bravado-core should be able to handle compressed responses.
These can be detected by the presence of a Content-Encoding header.
Specifically, I'm interested in support for decoding responses compressed by zlib, which have a Content-Encoding: deflate header. This would allow for decreased network latency and bandwidth for users if they want to use compression for their responses.

As the base clients seem to already automatically decompress responses based on the Content-Encoding header for us, we only need to modify the validation code.

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

No branches or pull requests

1 participant