You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@andreoss u mean the request itself does not automatically handle compressed responses (like gzip or deflate).
as a result this can be problematic when the server sends compressed responses, as JdkRequest won't automatically decompress them for you. Am i right?
so we can resolve this in two ways :
Use a Different Request Implementation
Handle Decompression Manually
but 1 option will be more compatible
Switch to using a request implementation that supports compression. According to the JCabi HTTP documentation, the com.jcabi.http.wire.DecorWire class is specifically designed to handle automatic decompression of responses. You can wrap your JdkRequest instance with DecorWire to enable compression support.
@andreoss i am going to make some changes try to look into it may be it will be helpful.....
Add support for
gzip
anddeflate
and enable this tests:jcabi-http/src/test/java/com/jcabi/http/RequestITCaseTemplate.java
Lines 180 to 195 in 9f069cf
jcabi-http/src/test/java/com/jcabi/http/RequestITCaseTemplate.java
Lines 197 to 213 in 9f069cf
The text was updated successfully, but these errors were encountered: