- From: Jean-Guilhem Rouel via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 24 Sep 2008 16:40:59 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/org/w3c/unicorn/util
In directory hutz:/tmp/cvs-serv20934
Modified Files:
ClientHttpRequest.java
Log Message:
try again for POST request
Index: ClientHttpRequest.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/util/ClientHttpRequest.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- ClientHttpRequest.java 24 Sep 2008 14:23:24 -0000 1.10
+++ ClientHttpRequest.java 24 Sep 2008 16:40:57 -0000 1.11
@@ -121,8 +121,8 @@
final URLConnection aURLConnection) throws IOException {
ClientHttpRequest.logger.trace("Constructor(URLConnection)");
this.aURLConnection = (HttpURLConnection) aURLConnection;
- this.aURLConnection.setDoOutput(true);
this.aURLConnection.setRequestMethod("POST");
+ this.aURLConnection.setDoOutput(true);
this.aURLConnection.setRequestProperty(
"Content-Type",
"multipart/form-data; boundary=" + this.sBoundary);
Received on Wednesday, 24 September 2008 16:41:33 UTC