2006/unicorn/org/w3c/unicorn/request DirectRequestGET.java,1.6,1.7 DirectRequestPOST.java,1.8,1.9 Request.java,1.8,1.9 URIRequest.java,1.7,1.8 UploadRequest.java,1.7,1.8

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

Modified Files:
	DirectRequestGET.java DirectRequestPOST.java Request.java 
	URIRequest.java UploadRequest.java 
Log Message:
Fixed encoding issues with Jigsaw + simplified build.xml and added a jigsaw task

Index: DirectRequestPOST.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/request/DirectRequestPOST.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- DirectRequestPOST.java	10 Sep 2008 10:10:40 -0000	1.8
+++ DirectRequestPOST.java	23 Sep 2008 13:53:58 -0000	1.9
@@ -126,6 +126,7 @@
 		this.aURLConnection.setRequestProperty("Content-Type",
 				"multipart/form-data; boundary=" + sBoundary);
 		this.aURLConnection.setRequestProperty("Accept-Language", this.sLang);
+
 		if (null == this.aOutputStream) {
 			this.aOutputStream = this.aURLConnection.getOutputStream();
 		}

Index: DirectRequestGET.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/request/DirectRequestGET.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- DirectRequestGET.java	10 Sep 2008 10:10:40 -0000	1.6
+++ DirectRequestGET.java	23 Sep 2008 13:53:58 -0000	1.7
@@ -102,6 +102,7 @@
 		}
 		final URLConnection aURLConnection = aURL.openConnection();
 		aURLConnection.setRequestProperty("Accept-Language", this.sLang);
+
 		InputStream is = aURLConnection.getInputStream();
 
     return streamToResponse(is);

Index: UploadRequest.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/request/UploadRequest.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- UploadRequest.java	10 Sep 2008 10:10:40 -0000	1.7
+++ UploadRequest.java	23 Sep 2008 13:53:58 -0000	1.8
@@ -107,8 +107,7 @@
 		UploadRequest.logger.trace("doRequest");
 		this.aClientHttpRequest = new ClientHttpRequest(sURL);
 		UploadRequest.logger.debug("Lang : " + this.sLang + ".");
-		this.aClientHttpRequest.setLang(sLang); // meme place que pour
-												// directpost
+		this.aClientHttpRequest.setLang(sLang);
 		this.aClientHttpRequest.setParameter(this.sInputParameterName,
 				this.aUploadInputModule.getFileName(), this.aUploadInputModule
 						.getInputStream());

Index: Request.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/request/Request.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Request.java	10 Sep 2008 10:10:40 -0000	1.8
+++ Request.java	23 Sep 2008 13:53:58 -0000	1.9
@@ -143,7 +143,7 @@
       while((readLength = isr.read(chararray, 0, 8192)) > -1) {
           builder.append(chararray, 0, readLength);
       }
-      
+
       Response res = ResponseParserFactory.parse(builder.toString(), 
                                                  this.getResponseType());
       res.setXml(builder);

Index: URIRequest.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/request/URIRequest.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- URIRequest.java	10 Sep 2008 10:10:40 -0000	1.7
+++ URIRequest.java	23 Sep 2008 13:53:58 -0000	1.8
@@ -119,9 +119,7 @@
 		final URLConnection aURLConnection = aURL.openConnection();
 
 		aURLConnection.setRequestProperty("Accept-Language", this.sLang);
-
 		InputStream is = aURLConnection.getInputStream();
-
 		return streamToResponse(is);
 	}
 

Received on Tuesday, 23 September 2008 13:54:36 UTC