Open GoogleCodeExporter opened 8 years ago
Can you elaborate on that? Do you mean that gzipped message bodies should be
unzipped
in order to account for parameters sent in the message payload?
Original comment by m.kaepp...@gmail.com
on 13 Jun 2009 at 1:58
Original comment by m.kaepp...@gmail.com
on 18 Jun 2009 at 9:09
No, it should support gzip compression of the response (using the
Content-Encoding header). It's a way that
websites are optimized (by reducing the amount of data that's transferred).
HTTPClient supports it, but I don't
remember it being straightforward.
Original comment by s...@mojodna.net
on 6 Jul 2009 at 10:41
If we do a OAuthProvider.setRequestHeader("Accept-Encoding", "gzip, deflate"),
the
library breaks if the service provider sends the data in gzip format. Basically
you
will have to check if the HttpURLConnection.getContentEncoding() is "gzip", then
uncompress the input stream before processing. (like new
GZIPInputStream(conn.getInputStream()))
Not critical but it would be a nice to have.
Regards
Nabeel Mukhtar
Original comment by nabeelmukhtar
on 12 Mar 2010 at 9:25
Original comment by m.kaepp...@gmail.com
on 14 Mar 2010 at 4:55
Original issue reported on code.google.com by
s...@mojodna.net
on 9 Jun 2009 at 12:48