How to disable automatic decompression? #1794
Answered
by
tomchristie
william-silversmith
asked this question in
Q&A
-
Hi all, I've been experimenting with http2 using async and comparing it with my preexisting http1.1 threaded implementation. I use my own choice of libraries and handling of decompression and would like to disable it in httpx while retaining a response object. What would be the right way to go about that? Thanks for your help! PS: For reference, I'm experimenting with seeing how much additional performance I can squeeze out of https://github.com/seung-lab/cloud-files |
Beta Was this translation helpful? Give feedback.
Answered by
tomchristie
Aug 11, 2021
Replies: 1 comment 1 reply
-
You can use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
william-silversmith
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
.iter_raw()
to iterate over the raw uncompressed byte content.