-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Gzip/Deflate/Bortli not workin okhttp3 4.12.0/5.0.0-alpha12 #8349
Comments
It should work anyway, but you are applying it twice. Try only once. |
I did it once, then twice. Gzip transparently doesn't work either |
You don't need to set the accept-encoding header yourself. That disables the automatic compression. |
Yes it worked. And I need the line to be: accept-encoding: gzip, deflate, br if you do not add accept-encoding, then the line accept-encoding: gzip, br if: http.protocols(List.of(Protocol.H2_PRIOR_KNOWLEDGE)); Automatic unpacking is also disabled. |
If you need explicit control, you will need to take over decompression also. |
The text was updated successfully, but these errors were encountered: