GZipDecoder only decodes the first member in gzip data #3269
Answered
by
lizeyan
lizeyan
asked this question in
Potential Issue
-
httpx version:0.27.0 Current Behavior:GZipDecoder only decodes the first member in gzip data. Expected Behavior:Be capable of decompressing multi-member gzip data (multiple gzip blocks concatenated together) just like Steps To Reproduce:
(The raw_bytes are from a Prometheus query request) Anything else:A possible implementation:
I have test it and it can handle this case. |
Beta Was this translation helpful? Give feedback.
Answered by
lizeyan
Sep 18, 2024
Replies: 2 comments 10 replies
-
I have opened a pull request: #3270 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Okay, I don't think we've sufficiently demo'ed that this is an issue yet. (tho it may be.) Let's ground this against the ecosystem, so it's less abstract...
|
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Chrome and Safari only decode the first gzip member.