[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Patch: fix for explicit mime types and text/html
From: |
Mark Wielaard |
Subject: |
Re: [cp-patches] Patch: fix for explicit mime types and text/html |
Date: |
Thu, 26 Aug 2004 17:01:10 +0200 |
Hi,
On Thu, 2004-08-05 at 02:44, jrandom wrote:
> Ok, here's a revised patch w/ changelog entry. The
> GenericHandler.java is plain renaming of the old plain.java, but
> is referenced explicitly from the URLConnection (which now never
> throws UnknownServiceException - it either has an explicit
> handler at gnu.java.net.content.* or it uses the GenericHandler).
>
> If there's another way I should go at the fallback handling, let me
> know.
>
> 2004-08-05 jrandom <address@hidden>
>
> * java/net/URLConnection.java (getContent): Add support for
> explicit mime types, plus a fallback onto a generic content
> type handler.
> * gnu/java/net/content/GenericHandler.java: New file
> * gnu/java/net/content/text/plain.java: Removed
Thanks. It looks good to me and I want to include this or something
similar in GNU Classpath. Bryce said on IRC that he had a different
solution to this. But libgcj and GNU Classpath are not really merged yet
with respect to the java.net.(Jar)URLConnection and the
gnu.java.net.protocol classes. Has/is/will someone look into that?
Otherwise I include this solution first and then try to look into
merging this classes later (probably after the release end of this
month).
Cheers,
Mark
signature.asc
Description: This is a digitally signed message part