artiya4u / google-http-java-client

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

Add HttpEncoding interface #185

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://javadoc.google-http-java-client.googlecode.com/hg/1.12.0-beta/com/google/
api/client/http/HttpContent.html

http://javadoc.google-http-java-client.googlecode.com/hg/1.12.0-beta/com/google/
api/client/http/HttpRequest.html#setEnableGZipContent(boolean)
Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?

All

Please describe the feature requested.

This adds a new HttpEncoding interface that would allow an arbitrary encoding 
to be applied to the request content, for example GZip encoding.  We would 
deprecate HttpRequest.setEnableGZipContent(boolean) and instead add a new 
HttpRequest.setEncoding(HttpEncoding) method, as well as a built-in 
GZipEncoding implementation.

Original issue reported on code.google.com by yan...@google.com on 21 Dec 2012 at 4:42

GoogleCodeExporter commented 9 years ago
https://codereview.appspot.com/6999046/

Original comment by yan...@google.com on 27 Dec 2012 at 5:37

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 9 Feb 2013 at 1:18