Gau-Yi / google-api-java-client

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

Gzipped Request Content Unsupported by Some Servers #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-api-java-client (e.g. 1.3.1-alpha)?
1.4.0-SNAPSHOT

Java environment (e.g. Java 6, Android 2.3, App Engine 1.4.2)?
Java 6

Describe the problem.
The library currently gzips all content > 256 bytes.  There is no guarantee 
that all servers will accept gzipped content, nor any mechanism to negotiate 
this with the server automatically.

How would you expect it to be fixed?

The library should conservatively not use gzip encoding and allow the user to 
turn it on as an option.  An optimization would be for the library to use it by 
default on servers that it knows support gzip, although this may be difficult 
to generalize.

Original issue reported on code.google.com by moshe...@google.com on 12 Apr 2011 at 7:04

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 12 Apr 2011 at 7:22

GoogleCodeExporter commented 9 years ago
http://codereview.appspot.com/4457041/

Original comment by yan...@google.com on 30 Apr 2011 at 2:09

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 3 May 2011 at 6:03

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 5 May 2011 at 7:20