Just for your information:

In message "[kaffe] [PATCH] HttpURLConnection.getOutputStream() fix"
    on 03/12/11, Atsushi Nemoto <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>

        * 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 <[EMAIL PROTECTED]>
        ...
        * 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.

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to