Issue 3914 (#4678)

* issue 3914, removed logic that remove header parameters. update template files to handle header parameters in the same manner as other parameters

* update swift and swift3 samples
This commit is contained in:
Adnan Baruni
2017-02-02 09:17:48 -06:00
committed by wing328
parent cd34885b02
commit 4b2c4f051b
49 changed files with 694 additions and 421 deletions

View File

@@ -16,8 +16,8 @@ class AlamofireRequestBuilderFactory: RequestBuilderFactory {
private var managerStore: [String: Alamofire.SessionManager] = [:]
open class AlamofireRequestBuilder<T>: RequestBuilder<T> {
required public init(method: String, URLString: String, parameters: [String : Any]?, isBody: Bool) {
super.init(method: method, URLString: URLString, parameters: parameters, isBody: isBody)
required public init(method: String, URLString: String, parameters: [String : Any]?, isBody: Bool, headers: [String : String] = [:]) {
super.init(method: method, URLString: URLString, parameters: parameters, isBody: isBody, headers: headers)
}
/**