Skip to content

Commit

Permalink
Changing parameter encoding to AFFormURLParameterEncoding by default,…
Browse files Browse the repository at this point in the history
… as per the documentation
  • Loading branch information
mattt committed Oct 31, 2011
1 parent 4285c0d commit dcf629f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AFNetworking/AFHTTPClient.m
Expand Up @@ -167,7 +167,7 @@ - (id)initWithBaseURL:(NSURL *)url {
self.baseURL = url;

self.stringEncoding = NSUTF8StringEncoding;
self.parameterEncoding = AFJSONParameterEncoding;
self.parameterEncoding = AFFormURLParameterEncoding;

self.registeredHTTPOperationClassNames = [NSMutableArray array];

Expand Down

0 comments on commit dcf629f

Please sign in to comment.