We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We need to put zstd accpet-encoding header, but the got packge cannot handle it automatically. I tried to fix it using afterResponse like this:
response.body = Buffer.from(fzstd.decompress(response.rawBody)).toString();
But I have problem when I use responseType: 'json', my afterResponse is after the built-int json.parse. Give me some idea or a solution to have zstd?
The text was updated successfully, but these errors were encountered:
Is it a new way to scam :|
Sorry, something went wrong.
No branches or pull requests
Describe the bug
We need to put zstd accpet-encoding header, but the got packge cannot handle it automatically. I tried to fix it using afterResponse like this:
But I have problem when I use responseType: 'json', my afterResponse is after the built-int json.parse. Give me some idea or a solution to have zstd?
The text was updated successfully, but these errors were encountered: