Skip to content

Commit 8515212

Browse files
committed
Added additional default binary response handled content types android-async-http#573
1 parent 1bcdcaf commit 8515212

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

library/src/main/java/com/loopj/android/http/BinaryHttpResponseHandler.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ public abstract class BinaryHttpResponseHandler extends AsyncHttpResponseHandler
5555

5656
private String[] mAllowedContentTypes = new String[]{
5757
"image/jpeg",
58-
"image/png"
58+
"image/png",
59+
"image/gif",
60+
"application/octet-stream"
5961
};
6062

6163
/**

0 commit comments

Comments
 (0)