Skip to content

Commit 918cfa0

Browse files
committed
Removing duplicate call
1 parent f9bccfd commit 918cfa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/com/loopj/android/http/AsyncHttpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public void process(HttpResponse response, HttpContext context) {
210210
if (encoding != null) {
211211
for (HeaderElement element : encoding.getElements()) {
212212
if (element.getName().equalsIgnoreCase(ENCODING_GZIP)) {
213-
response.setEntity(new InflatingEntity(response.getEntity()));
213+
response.setEntity(new InflatingEntity(entity));
214214
break;
215215
}
216216
}

0 commit comments

Comments
 (0)