firatisler / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
0 stars 0 forks source link

Support GZip #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Google APIs support GZip compression of the HTTP content of both requests and 
responses.  This can have an order of magnitude improvement in terms of HTTP 
content size.

In order to enable the Google API server to send a gzipped HTTP response, you 
need to add the following HTTP header:

Accept-Encoding: gzip

When sending a gzipped HTTP request, you need to add the following header:

Content-Type: application/json

Original issue reported on code.google.com by yan...@google.com on 19 May 2011 at 10:14

GoogleCodeExporter commented 9 years ago
Added and merged with the default branch. Enabled by default, but can be 
disabled by changing a property in IService.cs

Original comment by mlin...@google.com on 27 May 2011 at 8:30