Skip to content
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

Fix Gzip decompresstion error #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Mohammed-Swillam
Copy link

The async code will fail when trying to decompress the stream.

after a few investigations, the reason behind this fail is because the request object is already utilizing the AutomaticDecompression feature, so the stream inside the handleResult method is automatically decompressed using Gzip and no longer needs decompression.

I've fixed this issue and asking you to kindly accept this pull request.

Thank you,
Mohammed

…he stream is automatically decompressed as a result of using 'AutomaticDecompression' on the request object.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant