[kaffe] [PATCH] HttpURLConnection.getOutputStream() fix
Ito Kazumitsu
ito.kazumitsu at hitachi-cable.co.jp
Thu Dec 11 16:06:01 PST 2003
Just for your information:
In message "[kaffe] [PATCH] HttpURLConnection.getOutputStream() fix"
on 03/12/11, Atsushi Nemoto <anemo at mba.ocn.ne.jp> writes:
> I tried to send POST request to HttpURLConnection but writing to
> streams returned by HttpURLConnection.getOutputStream() had no effect.
>
> This is because getOutputStream() calls connect() before any data is
> written to the stream.
Kaffe's original URL and HttpURLConnection had a similar problem and
were corrected so that POST could be used.
2003-05-11 Ito Kazumitsu <kaz at maczuka.gcd.org>
* libraries/javalib/java/net/URL.java:
(openConnection) Don't call connect for http connections, giving
the user time to set its options up.
* libraries/javalib/kaffe/net/www/protocol/http/HttpURLConnection.java:
Added support for getOutputStream.
But they were replaced by those from GNU Classpath.
2003-10-29 Guilhem Lavaux <guilhem at kaffe.org>
...
* libraries/javalib/gnu/java/net/HeaderFieldHelper.java,
...
libraries/javalib/gnu/java/net/protocol/http/Connection.java,
libraries/javalib/gnu/java/net/protocol/http/Handler.java,
...
libraries/javalib/java/net/HttpURLConnection.java,
...
libraries/javalib/java/net/URL.java,
...
Merged classes from GNU Classpath. Fixed parseUrl in URLStreamHandler
when there is some userinfo in a URL.
More information about the kaffe
mailing list