Repository navigation
Handling of truncated body is not consistent between different compressors #1291
Unanswered
Cycloctane
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Current body decoder only performs EOF checks on zstd and br[brotlicffi].
When a response body is compressed with gzip, deflate, or brotli but is truncated or malformed, HTTPX2 silently returns incomplete data instead of raising an error.
reproduce test:
I've already opened PR #1234. Sorry for not reading contributing.md first :(
All reactions