File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
library/src/main/java/com/qiniu/android/http Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -183,10 +183,10 @@ private static boolean isChunkResOK(JSONObject response) {
183183 }
184184
185185 public static boolean isNotUpToQiniu (ResponseInfo info , JSONObject response ) {
186- return info .statusCode < 500 && info .statusCode >= 200 && (info .hasReqId () || response ! = null );
186+ return info .statusCode < 500 && info .statusCode >= 200 && (! info .hasReqId () && response = = null );
187187 }
188188
189189 public static boolean isNotChunkToQiniu (ResponseInfo info , JSONObject response ) {
190- return info .statusCode < 500 && info .statusCode >= 200 && (info .hasReqId () || isChunkResOK (response ));
190+ return info .statusCode < 500 && info .statusCode >= 200 && (! info .hasReqId () && ! isChunkResOK (response ));
191191 }
192192}
You can’t perform that action at this time.
0 commit comments