     @discardableResult
     public func response(_ completionHandler: @escaping (Alamofire.DefaultDownloadResponse) -> Void)
         -> Self {
-            self.downloadRequest.response(queue: self.downloadQueue, completionHandler: completionHandler)
+            self.downloadRequest.validate().response(queue: self.downloadQueue, completionHandler: completionHandler)
             return self
     }
     

        completionHandler: @escaping (Alamofire.DownloadResponse<Data>) -> Void)
        -> Self
    {
        self.downloadRequest.responseData(queue: self.downloadQueue, completionHandler: completionHandler)
        return self
    }
    

    public func responseJSON(_ completionHandler: @escaping (Alamofire.DownloadResponse<Any>) -> Void)
        -> Self
    {
        self.downloadRequest.validate().responseJSON(queue: self.downloadQueue, options: self.downloadJSONOptions, completionHandler: completionHandler)
        return self
    }
}
