Alamofire download issue : <p>I am trying to download <a href="https://slove.tulleb.com/uploads/6/6/0/2/66027561/2791411.jpg-1447979839.png">this picture</a> in my code using Alamofire 4.0.0 with Xcode 8.0 and Swift 3.0.</p>

<p>Here is my request:</p>

<pre><code>    func download(_ path: String, _ completionHandler: @escaping (Any?) -&gt; ()) {
        let stringURL = "https://slove.tulleb.com/uploads/6/6/0/2/66027561/2791411.jpg-1447979839.png"

        print("Requesting \(stringURL)...")

        _ = Alamofire.download(stringURL)
            .responseData { response in
                print(response)

                if let data = response.result.value {
                    completionHandler(UIImage(data: data))
                } else {
                    completionHandler(nil)
                }
        }
    }
</code></pre>

<p>I get the following answer from the server:</p>

<blockquote>
  <p>FAILURE:
  responseSerializationFailed(Alamofire.AFError.ResponseSerializationFailureReason.inputFileReadFailed(file:///private/var/mobile/Containers/Data/Application/50400F41-47FD-4276-8903-F48D942D064A/tmp/CFNetworkDownload_D1Aqkh.tmp))</p>
</blockquote>

<p>I don't have any idea on how to fix this... Is Alamofire new version having some issues or is it me forgetting something somewhere?</p>

<p>Thanks!</p>
