                         } else if let array = value as? [AnyObject] {
                             components += arrayQueryComponents(key, array)
                         } else {
-                            components += (key, "\(value)")
+                            components.append(key, "\(value)")
                         }
 
                         return components

            if let cookies = cookieStorage.cookiesForURL(URL) as? [NSHTTPCookie] {
                if !cookies.isEmpty {
                    let string = cookies.reduce(""){ $0 + "\($1.name)=\($1.value);" }
                    components += "-b \"\(string.substringToIndex(string.endIndex.predecessor()))\""
                }
            }
        }

            var taskDidSendBodyData: ((NSURLSession!, NSURLSessionTask!, Int64, Int64, Int64) -> Void)?
            var taskNeedNewBodyStream: ((NSURLSession!, NSURLSessionTask!) -> (NSInputStream!))?

            init(task: NSURLSessionTask) {
                self.task = task
                self.progress = NSProgress(totalUnitCount: 0)

                let label: String = "com.alamofire.task-\(task.taskIdentifier)"
                let queue = dispatch_queue_create((label as NSString).UTF8String, DISPATCH_QUEUE_SERIAL)
                dispatch_suspend(queue)
                self.queue = queue
            }
