         if let theResponse = self.response as? NSHTTPURLResponse {
             return theResponse.statusCode
         }
-
         return nil
     }
 

                endCredential = NSURLCredential(user: credential.0, password: credential.1, persistence: .ForSession)
            }
        }
        
        completionHandler(disposition, endCredential)
    }
}
    }


    func makeTask(request:NSURLRequest, configuration: TaskConfiguration, completionHandler:((HTTPResult) -> Void)? = nil) -> NSURLSessionDataTask {
        let task:NSURLSessionDataTask
        if let handler = completionHandler {
            task = session.dataTaskWithRequest(request) { (data, response, error) in
