Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 67537a4

Browse files
committedJul 4, 2016
[ios] #3979 gzip -> deflate
1 parent 6cb4afe commit 67537a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎platform/ios/src/MGLAPIClient.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ - (NSURLRequest *)requestForEvents:(NS_ARRAY_OF(MGLMapboxEventAttributes *) *)ev
9090
// Compressing less than 3 events can have a negative impact on the size.
9191
if (events.count > 2) {
9292
NSData *compressedData = [jsonData mgl_compressedData];
93-
[request setValue:@"gzip" forHTTPHeaderField:MGLAPIClientHeaderFieldContentEncodingKey];
93+
[request setValue:@"deflate" forHTTPHeaderField:MGLAPIClientHeaderFieldContentEncodingKey];
9494
[request setHTTPBody:compressedData];
9595
}
9696

0 commit comments

Comments
 (0)