Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: steipete/AFDownloadRequestOperation
base: 632a2e0aee
...
head fork: steipete/AFDownloadRequestOperation
compare: 660ac083c9
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Mar 03, 2014
Artem Lakomov alakomow didReceiveData has ignored incorrect http code 84c7b18
Peter Steinberger Merge pull request #61 from sibext/master
didReceiveData has ignored incorrect http code
660ac08
Showing with 2 additions and 0 deletions.
  1. +2 −0  AFDownloadRequestOperation.m
2  AFDownloadRequestOperation.m
View
@@ -257,6 +257,8 @@ - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLRespon
totalContentLength = [bytes[3] longLongValue]; // if this is *, it's converted to 0
}
}
+ }else if (httpResponse.statusCode != 200){
+ return;
}
self.totalBytesReadPerDownload = 0;

No commit comments for this range

Something went wrong with that request. Please try again.