Authored by Olivier Poitrey

Merge pull request #735 from nickhingston/pullRequestBranch

If NSURLConnection response statusCode not valid (e.g. 404) , downloader...
... ... @@ -203,7 +203,7 @@
if (self.completedBlock) {
self.completedBlock(nil, nil, [NSError errorWithDomain:NSURLErrorDomain code:[((NSHTTPURLResponse *)response) statusCode] userInfo:nil], YES);
}
CFRunLoopStop(CFRunLoopGetCurrent());
[self done];
}
}
... ...