diff --git a/cocos/network/HttpAsynConnection.m b/cocos/network/HttpAsynConnection.m index cca536ea14..63892ff282 100755 --- a/cocos/network/HttpAsynConnection.m +++ b/cocos/network/HttpAsynConnection.m @@ -87,7 +87,7 @@ | “205” ; Reset Content | “206” ; Partial Content */ - if (responseCode >= 200 && responseCode < 300) + if (responseCode < 200 || responseCode >= 300) {// something went wrong, abort the whole thing [connection cancel];