                 }
             }
         }
-
+        
         if session.configuration.HTTPAdditionalHeaders != nil {
             for (field, value) in session.configuration.HTTPAdditionalHeaders! {
                 switch field {

                }
            }
        }
        #endif

        if request.allHTTPHeaderFields != nil {
            for (field, value) in request.allHTTPHeaderFields! {
                switch field {


// MARK: - Upload

extension Alamofire.Manager {
    private enum Uploadable {
        case Data(NSURLRequest, NSData)
        case File(NSURLRequest, NSURL)
        case Stream(NSURLRequest, NSInputStream)
    }
    
    private func upload(uploadable: Uploadable) -> Alamofire.Request {
        var uploadTask: NSURLSessionUploadTask!
        var HTTPBodyStream: NSInputStream?
        
        switch uploadable {
        case .Data(let request, let data):
            uploadTask = session.uploadTaskWithRequest(request, fromData: data)
