         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)
    }
}
        } else {
            task = session.dataTaskWithRequest(request, completionHandler: nil)
        }
        taskConfigs[task.taskIdentifier] = configuration
        return task
    }

