2006/unicorn/org/w3c/unicorn/util ClientHttpRequest.java,1.6,1.7

Update of /sources/public/2006/unicorn/org/w3c/unicorn/util
In directory hutz:/tmp/cvs-serv3629

Modified Files:
	ClientHttpRequest.java 
Log Message:
test


Index: ClientHttpRequest.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/util/ClientHttpRequest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ClientHttpRequest.java	24 Sep 2008 12:28:39 -0000	1.6
+++ ClientHttpRequest.java	24 Sep 2008 13:41:54 -0000	1.7
@@ -122,8 +122,6 @@
 		ClientHttpRequest.logger.trace("Constructor(URLConnection)");
 		this.aURLConnection = (HttpURLConnection) aURLConnection;
 		this.aURLConnection.setDoOutput(true);
-    this.aURLConnection.setRequestMethod("POST");
-    System.out.println("=================> " + this.aURLConnection.getRequestMethod());
 		this.aURLConnection.setRequestProperty(
 				"Content-Type",
 				"multipart/form-data; boundary=" + this.sBoundary);
@@ -352,6 +350,8 @@
 		this.boundary();
 		this.writeln("--");
 		this.aOutputStream.close();
+    System.out.println(this.aURLConnection.getRequestMethod());
+
 		return this.aURLConnection.getInputStream();
 	}
 

Received on Wednesday, 24 September 2008 13:42:29 UTC