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 a _compress_response option for operation calls #335

Closed
AlstonLin opened this issue Dec 6, 2017 · 1 comment
Closed

Add a _compress_response option for operation calls #335

AlstonLin opened this issue Dec 6, 2017 · 1 comment

Comments

@AlstonLin
Copy link
Contributor

When Yelp/bravado-core#231 is merged to bravado-core, bravado should have an easy way to initiate requests for compressed responses.
Specifically, users should be able to add a _compress_response=True flag, which would then cause an Accept-Encoding: deflate header to be automatically included in the request.

@AlstonLin
Copy link
Contributor Author

Closing this as it seems the requests module already sends this header by default, and also handles it automatically

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