- From: Jean-Guilhem Rouel via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 24 Sep 2008 12:28:41 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/org/w3c/unicorn/util In directory hutz:/tmp/cvs-serv16094/org/w3c/unicorn/util Modified Files: ClientHttpRequest.java Log Message: Forcing POST request for file upload on Jigsaw Index: ClientHttpRequest.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/util/ClientHttpRequest.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ClientHttpRequest.java 24 Sep 2008 12:21:57 -0000 1.5 +++ ClientHttpRequest.java 24 Sep 2008 12:28:39 -0000 1.6 @@ -119,11 +119,11 @@ */ public ClientHttpRequest ( final URLConnection aURLConnection) throws IOException { - System.out.println(aURLConnection); 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);
Received on Wednesday, 24 September 2008 12:29:17 UTC