OSDN Git Service

Don't leave the Content-Encoding header around after transparent gzip.
authorJesse Wilson <jessewilson@google.com>
Fri, 17 Sep 2010 17:41:33 +0000 (10:41 -0700)
committerJesse Wilson <jessewilson@google.com>
Fri, 17 Sep 2010 17:41:33 +0000 (10:41 -0700)
commit8116f7e97e00d223e7fbe5c950c9a5e3277de124
tree02a2a7bfc652dd2117c63462447ca6cd3bb7502e
parent288041b6003504a2976e9a101c573e1d7a69a37a
Don't leave the Content-Encoding header around after transparent gzip.

Otherwise clients may be tempted to double-decompress.
http://b/issue?id=3009828

Change-Id: I4832da1c2aff9bad8d452ffc4a0f98ee27d44f49
luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnectionImpl.java
luni/src/test/java/libcore/java/net/URLConnectionTest.java