[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/25803] New: HttpUrlConnection reports gzip content on unc
From: |
green at redhat dot com |
Subject: |
[Bug classpath/25803] New: HttpUrlConnection reports gzip content on uncompressed data |
Date: |
16 Jan 2006 02:52:59 -0000 |
HttpUrlConnection.getInputStream() conveniently unzips gzip'd content with
GZIPInpuStream for us automatically. Unfortunately, getContentType() still
returns "gzip". This confuses Azureus, which really expects uncompressed data
if it's told it has gzip content.
Sun's implementation of getContentType() returns null if it's returning an
uncompressed gzip stream.
I used this...
http://gcc.gnu.org/bugzilla/attachment.cgi?id=9839&action=view
...with this URL of gzip'd content..
http://test.mksearch.mkdoc.org/
..to see what was going on.
--
Summary: HttpUrlConnection reports gzip content on uncompressed
data
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: green at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25803
- [Bug classpath/25803] New: HttpUrlConnection reports gzip content on uncompressed data,
green at redhat dot com <=