We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5120057 commit 26832d2Copy full SHA for 26832d2
common/src/main/java/HTTPClient/ContentEncodingModule.java
@@ -34,6 +34,7 @@
34
35
import java.io.IOException;
36
import java.util.Vector;
37
+import java.util.zip.Inflater;
38
import java.util.zip.InflaterInputStream;
39
import java.util.zip.GZIPInputStream;
40
@@ -179,7 +180,7 @@ else if (encoding.equalsIgnoreCase("deflate"))
179
180
{
181
Log.write(Log.MODS, "CEM: pushing inflater-input-stream");
182
- resp.inp_stream = new InflaterInputStream(resp.inp_stream);
183
+ resp.inp_stream = new InflaterInputStream(resp.inp_stream, new Inflater(true));
184
pce.removeElementAt(pce.size()-1);
185
resp.deleteHeader("Content-length");
186
}
0 commit comments