We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f976923 commit 3de64fbCopy full SHA for 3de64fb
src/main/java/com/btk5h/reqn/skript/EffRequest.java
@@ -211,9 +211,9 @@ private HttpResponse sendRequest(Event e) {
211
212
String encoding = conn.getContentEncoding();
213
if (encoding != null)
214
- if (encoding.equals("gzip")) {
+ if (encoding.equalsIgnoreCase("gzip")) {
215
response = new GZIPInputStream(response);
216
- } else if (encoding.equals("deflate")) {
+ } else if (encoding.equalsIgnoreCase("deflate")) {
217
response = new InflaterInputStream(response, new Inflater(true));
218
}
219
0 commit comments