2006/unicorn/src/org/w3c/unicorn/request URIRequest.java,1.3,1.4

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

Modified Files:
	URIRequest.java 
Log Message:
added requestUri to object Response

Index: URIRequest.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/request/URIRequest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- URIRequest.java	3 Sep 2009 16:43:19 -0000	1.3
+++ URIRequest.java	9 Sep 2009 12:09:38 -0000	1.4
@@ -116,7 +116,11 @@
 
 		aURLConnection.setRequestProperty("Accept-Language", this.sLang);
 		InputStream is = aURLConnection.getInputStream();
-		return streamToResponse(is);
+		Response response = streamToResponse(is);
+		
+		response.setRequestUri(aURL.toString());
+		
+		return response;
 	}
 
 	@Override

Received on Wednesday, 9 September 2009 12:09:49 UTC