Merge branch 'patch-8' of git://github.com/tewha/AFNetworking into tewha-patch-8
This commit is contained in:
commit
a83712c1f0
1 changed files with 3 additions and 0 deletions
|
|
@ -254,6 +254,9 @@ static NSString * AFPropertyListStringFromParameters(NSDictionary *parameters) {
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( [[url path] length] > 0 && ![[url absoluteString] hasSuffix: @"/"] ) {
|
||||||
|
url = [url URLByAppendingPathComponent: @""];
|
||||||
|
}
|
||||||
self.baseURL = url;
|
self.baseURL = url;
|
||||||
|
|
||||||
self.stringEncoding = NSUTF8StringEncoding;
|
self.stringEncoding = NSUTF8StringEncoding;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue