[kaffe] CVS kaffe (dalibor): Resynced with GNU Classpath: Fixes for HTTP connection

Kaffe CVS cvs-commits at kaffe.org
Sun Mar 21 11:58:02 PST 2004


PatchSet 4551 
Date: 2004/03/21 19:49:37
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: Fixes for HTTP connection

2004-03-21  Dalibor Topic <robilad at kaffe.org>

        Resynced with GNU Classpath.

        2004-03-20  Michael Koch  <konqueror at gmx.de>

        * gnu/java/net/protocol/http/Connection.java
        (getOutputStream): Dont set POST method.

Members: 
	ChangeLog:1.2129->1.2130 
	libraries/javalib/gnu/java/net/protocol/http/Connection.java:1.7->1.8 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2129 kaffe/ChangeLog:1.2130
--- kaffe/ChangeLog:1.2129	Sun Mar 21 19:41:32 2004
+++ kaffe/ChangeLog	Sun Mar 21 19:49:37 2004
@@ -4,6 +4,15 @@
 
 	2004-03-20  Michael Koch  <konqueror at gmx.de>
 
+        * gnu/java/net/protocol/http/Connection.java
+        (getOutputStream): Dont set POST method.
+
+2004-03-21  Dalibor Topic <robilad at kaffe.org>
+
+	Resynced with GNU Classpath.
+
+	2004-03-20  Michael Koch  <konqueror at gmx.de>
+
         * gnu/java/nio/PipeImpl.java
         (SourceChannelImpl): Made final.
         (read): Implemented.
Index: kaffe/libraries/javalib/gnu/java/net/protocol/http/Connection.java
diff -u kaffe/libraries/javalib/gnu/java/net/protocol/http/Connection.java:1.7 kaffe/libraries/javalib/gnu/java/net/protocol/http/Connection.java:1.8
--- kaffe/libraries/javalib/gnu/java/net/protocol/http/Connection.java:1.7	Mon Feb  2 17:25:23 2004
+++ kaffe/libraries/javalib/gnu/java/net/protocol/http/Connection.java	Sun Mar 21 19:49:38 2004
@@ -393,9 +393,6 @@
       throw new ProtocolException
         ("Want output stream while haven't setDoOutput(true)");
     
-    if (!method.equals ("POST")) //But we might support "PUT" in future
-      setRequestMethod ("POST");
-  
     if (bufferedOutputStream == null)
       bufferedOutputStream = new ByteArrayOutputStream (256); //default is too small
     




More information about the kaffe mailing list