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: while response is gzipped #1302

Merged
merged 12 commits into from
Apr 15, 2022
Merged

fix: while response is gzipped #1302

merged 12 commits into from
Apr 15, 2022

Conversation

wssgcg1213
Copy link
Member

@wssgcg1213 wssgcg1213 commented Apr 7, 2022

Fix: If request a cached gzipped content, and the http client set autoUncompress to false, it will store a raw gzip content. But the default HttpClientStreamResponse's compressState is notCompressed, causing convert fail exception.

This Pull Request resolve the problem by passing the compressionState to HttpClientStreamResponse.

@wssgcg1213 wssgcg1213 merged commit 88a4c0f into main Apr 15, 2022
@wssgcg1213 wssgcg1213 deleted the fix/auto-uncompress branch April 15, 2022 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants