AFNetworking 2.0: NSURLSessionDownloadTask is cancelled when received 302 to AWS S3
问题 I'm using a simple example from the README file (from AFNetworking 2.0 page) to download an image. All works fine for the images served directly from my web-sever. But for those located on the S3 the web-server returns 302 Redirect the following error: Error Domain=NSURLErrorDomain Code=-999 "cancelled" When I try to download the image (using the same code) directly from the S3 (omitting the redirection) I receive the same error. I've checked the availability of the actual image with wget.