Zstandard data is incomplete on HEAD requests #3408
Unanswered
AlexMili
asked this question in
Potential Issue
Replies: 1 comment 1 reply
-
Thanks seems viable. Can you point at a live URL to replicate? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tried to do a HEAD request with a server answering with
zstd
encoding by default but since the content is emptyZStandardDecoder
is raisingDecodingError("Zstandard data is incomplete")
when callingflush()
.Tried to fix the problem by adding a check if
ret
is empty:Don't know if there is an other way to avoid the error or fix it but sounds like a bug.
Beta Was this translation helpful? Give feedback.
All reactions