|
|
@@ -106,7 +106,7 @@ public enum ParameterEncoding {
|
|
|
let method = Method(rawValue: mutableURLRequest.HTTPMethod)
|
|
|
if method != nil && encodesParametersInURL(method!) {
|
|
|
if let URLComponents = NSURLComponents(URL: mutableURLRequest.URL!, resolvingAgainstBaseURL: false) {
|
|
|
- URLComponents.percentEncodedQuery = (URLComponents.query != nil ? URLComponents.query! + "&" : "") + query(parameters!)
|
|
|
+ URLComponents.percentEncodedQuery = (URLComponents.percentEncodedQuery != nil ? URLComponents.percentEncodedQuery! + "&" : "") + query(parameters!)
|
|
|
mutableURLRequest.URL = URLComponents.URL
|
|
|
}
|
|
|
} else {
|