Permalink
Browse files

Merge pull request #494 from mikelikespie/remove-accept-encoding-defa…

…ult-header

Removing setting Accept-Encoding by default.
  • Loading branch information...
2 parents 70dff01 + b614dee commit 8fc948cf211699cf4d26f257f7ff43ab4ed860fe @mattt mattt committed Sep 1, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 AFNetworking/AFHTTPClient.m
@@ -251,9 +251,6 @@ - (id)initWithBaseURL:(NSURL *)url {
self.registeredHTTPOperationClassNames = [NSMutableArray array];
self.defaultHeaders = [NSMutableDictionary dictionary];
-
- // Accept-Encoding HTTP Header; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3
- [self setDefaultHeader:@"Accept-Encoding" value:@"gzip"];
// Accept-Language HTTP Header; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4
NSString *preferredLanguageCodes = [[NSLocale preferredLanguages] componentsJoinedByString:@", "];

0 comments on commit 8fc948c

Please sign in to comment.