Hi All,

I am using the Apache HttpClient and added the header "Accept-
Encoding" and "gzip,deflate". But when I check the header of the
response I always get the Content-Encoding header as empty.

In the header array of the response I can see that "Content-Type:
application/xml; charset=utf-8" as one of the value.

My questions are:

a) Is there a way to check whether a server support gzip content
encoding?
b) If no, how can I find out from Apache HttpClient whether the
content received is in gzip content encoding?

Please help.

Thanks & Regards,
Arpit.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to