Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


gzip Request Serializer for AFNetworking

Subscribe to updates I use AFgzipRequestSerializer

Statistics on AFgzipRequestSerializer

Number of watchers on Github 147
Number of open issues 8
Average time to close an issue 4 days
Main language Objective-C
Average time to merge a PR 6 days
Open pull requests 4+
Closed pull requests 0+
Last commit almost 4 years ago
Repo Created over 5 years ago
Repo Last Updated over 1 year ago
Size 5 KB
Organization / Authorafnetworking
Page Updated
Do you use AFgzipRequestSerializer? Leave a review!
View open issues (8)
View AFgzipRequestSerializer activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating AFgzipRequestSerializer for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


AFgzipRequestSerializer applies gzip compression to requests generated by a specified serializer, setting the appropriate Content-Encoding header.

Example Usage

AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
manager.requestSerializer = [AFgzipRequestSerializer serializerWithSerializer:[AFJSONRequestSerializer serializer]];

[manager POST:@""
   parameters:@{@"foo": @"bar"}
      success:^(NSURLSessionDataTask *task, id responseObject) {
        NSLog(@"%@", responseObject);
      failure:^(NSURLSessionDataTask *task, NSError *error) {
        NSLog(@"[Error] %@", error);

    Accept-Content: application/json
    Content-Type: application/json
    Content-Encoding: gzip

    (gzip-compressed JSON)


Mattt Thompson



AFgzipRequestSerializer is available under the MIT license. See the LICENSE file for more info.

AFgzipRequestSerializer open issues Ask a question     (View All Issues)
  • about 3 years Can used in get request
  • over 3 years integrating issue with AFNetworking 3.1.0
  • almost 4 years AFNetworking 3.0
  • almost 4 years The body of multipart/form-data request is not compressed
AFgzipRequestSerializer open pull requests (View All Pulls)
  • Close #7
  • Update podspec to allow AFNetworking >= 2.0
  • Dependency version changed
  • Upgrade AFNetworking to 3 and up version to 0.1.0
AFgzipRequestSerializer list of languages used
Other projects in Objective-C