GZipDecoder only decodes the first member in gzip data #3269
-
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.
Replies: 2 comments 11 replies
-
I have opened a pull request: #3270 |
Beta Was this translation helpful? Give feedback.
-
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.
Chrome and Safari only decode the first gzip member.