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 085db38 commit 22780b5Copy full SHA for 22780b5
sample/src/main/java/com/loopj/android/http/sample/BinarySample.java
@@ -38,6 +38,12 @@ public void onStart() {
38
clearOutputs();
39
}
40
41
+ @Override
42
+ public String[] getAllowedContentTypes() {
43
+ // Allowing all data for debug purposes
44
+ return new String[]{".*"};
45
+ }
46
+
47
public void onSuccess(int statusCode, Header[] headers, byte[] binaryData) {
48
debugStatusCode(LOG_TAG, statusCode);
49
debugHeaders(LOG_TAG, headers);
0 commit comments