{"action":"created","issue":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1529","repository_url":"https://api.github.com/repos/Alamofire/Alamofire","labels_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1529/labels{/name}","comments_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1529/comments","events_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1529/events","html_url":"https://github.com/Alamofire/Alamofire/issues/1529","id":176893932,"number":1529,"title":"Issue with download request","user":{"login":"Tulleb","id":5658984,"avatar_url":"https://avatars.githubusercontent.com/u/5658984?v=3","gravatar_id":"","url":"https://api.github.com/users/Tulleb","html_url":"https://github.com/Tulleb","followers_url":"https://api.github.com/users/Tulleb/followers","following_url":"https://api.github.com/users/Tulleb/following{/other_user}","gists_url":"https://api.github.com/users/Tulleb/gists{/gist_id}","starred_url":"https://api.github.com/users/Tulleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tulleb/subscriptions","organizations_url":"https://api.github.com/users/Tulleb/orgs","repos_url":"https://api.github.com/users/Tulleb/repos","events_url":"https://api.github.com/users/Tulleb/events{/privacy}","received_events_url":"https://api.github.com/users/Tulleb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Alamofire/Alamofire/labels/needs%20investigation","name":"needs investigation","color":"9559F0"}],"state":"open","locked":false,"assignee":{"login":"cnoon","id":169110,"avatar_url":"https://avatars.githubusercontent.com/u/169110?v=3","gravatar_id":"","url":"https://api.github.com/users/cnoon","html_url":"https://github.com/cnoon","followers_url":"https://api.github.com/users/cnoon/followers","following_url":"https://api.github.com/users/cnoon/following{/other_user}","gists_url":"https://api.github.com/users/cnoon/gists{/gist_id}","starred_url":"https://api.github.com/users/cnoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnoon/subscriptions","organizations_url":"https://api.github.com/users/cnoon/orgs","repos_url":"https://api.github.com/users/cnoon/repos","events_url":"https://api.github.com/users/cnoon/events{/privacy}","received_events_url":"https://api.github.com/users/cnoon/received_events","type":"User","site_admin":false},"assignees":[{"login":"cnoon","id":169110,"avatar_url":"https://avatars.githubusercontent.com/u/169110?v=3","gravatar_id":"","url":"https://api.github.com/users/cnoon","html_url":"https://github.com/cnoon","followers_url":"https://api.github.com/users/cnoon/followers","following_url":"https://api.github.com/users/cnoon/following{/other_user}","gists_url":"https://api.github.com/users/cnoon/gists{/gist_id}","starred_url":"https://api.github.com/users/cnoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnoon/subscriptions","organizations_url":"https://api.github.com/users/cnoon/orgs","repos_url":"https://api.github.com/users/cnoon/repos","events_url":"https://api.github.com/users/cnoon/events{/privacy}","received_events_url":"https://api.github.com/users/cnoon/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-09-14T12:27:17Z","updated_at":"2016-09-19T08:34:04Z","closed_at":null,"body":"I am trying to download [this picture][1] in my code using Alamofire 4.0.0 with Xcode 8.0 and Swift 3.0.\r\n\r\nHere is my request:\r\n\r\n    \tfunc download(_ path: String, _ completionHandler: @escaping (Any?) -> ()) {\r\n    \t\tlet stringURL = \"https://slove.tulleb.com/uploads/6/6/0/2/66027561/2791411.jpg-1447979839.png\"\r\n    \t\t\r\n    \t\tprint(\"Requesting \\(stringURL)...\")\r\n    \t\t\r\n    \t\t_ = Alamofire.download(stringURL)\r\n    \t\t\t.responseData { response in\r\n    \t\t\t\tprint(response)\r\n    \t\t\t\t\r\n    \t\t\t\tif let data = response.result.value {\r\n    \t\t\t\t\tcompletionHandler(UIImage(data: data))\r\n    \t\t\t\t} else {\r\n    \t\t\t\t\tcompletionHandler(nil)\r\n    \t\t\t\t}\r\n    \t\t}\r\n    \t}\r\n\r\nI have the following error:\r\n\r\n> FAILURE:\r\n> responseSerializationFailed(Alamofire.AFError.ResponseSerializationFailureReason.inputFileReadFailed(file:///private/var/mobile/Containers/Data/Application/50400F41-47FD-4276-8903-F48D942D064A/tmp/CFNetworkDownload_D1Aqkh.tmp))\r\n\r\nAny help would be very appreciated, thanks :)\r\n\r\n  [1]: https://slove.tulleb.com/uploads/6/6/0/2/66027561/2791411.jpg-1447979839.png"},"comment":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/comments/247937403","html_url":"https://github.com/Alamofire/Alamofire/issues/1529#issuecomment-247937403","issue_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1529","id":247937403,"user":{"login":"Tulleb","id":5658984,"avatar_url":"https://avatars.githubusercontent.com/u/5658984?v=3","gravatar_id":"","url":"https://api.github.com/users/Tulleb","html_url":"https://github.com/Tulleb","followers_url":"https://api.github.com/users/Tulleb/followers","following_url":"https://api.github.com/users/Tulleb/following{/other_user}","gists_url":"https://api.github.com/users/Tulleb/gists{/gist_id}","starred_url":"https://api.github.com/users/Tulleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tulleb/subscriptions","organizations_url":"https://api.github.com/users/Tulleb/orgs","repos_url":"https://api.github.com/users/Tulleb/repos","events_url":"https://api.github.com/users/Tulleb/events{/privacy}","received_events_url":"https://api.github.com/users/Tulleb/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T08:34:04Z","updated_at":"2016-09-19T08:34:04Z","body":"@jshier @cnoon just to remind you that I still have this download issue...\r\n\r\n**It doesn't seem related to @rakeshbiswalmobileprogrmming's problem :(**"}}
{"actor":{"display_login":"Tulleb"}}