-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Z_DATA_ERROR when fetching a "Content-Encoding: gzip, deflate" response from the server #3762
Labels
bug
Something isn't working
Comments
isnt this alread fixed in #3632 ? |
I backported it manually. #3700 Use undici 6.20.0 directly to test it. |
Sorry, I forgot to backport #3343 to 6.x, this should fix it. |
Fixed by #3764 |
gauthier-th
added a commit
to Fallenbagel/jellyseerr
that referenced
this issue
Dec 3, 2024
This fixes an issue with the Fetch API that is unable to decode the response from Emby during setup. Related to nodejs/undici#3762
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
fetch
is terminated with aZ_DATA_ERROR
when fetching agzip, deflate
compressed response from the server.Reproducible By
Here's a 0 dependency reproduction:
node ./index.js
Here's a copy-pastable reproduction:
Expected Behavior
await response.text()
returns a decompressed response string'hello world'
.Logs & Screenshots
Environment
Reproducible on all versions of Node:
The text was updated successfully, but these errors were encountered: