W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2009

2006/unicorn/src/org/w3c/unicorn/request URIRequest.java,1.13,1.14

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 06 Oct 2009 14:48:19 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MvBKt-0005v8-2C@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/request
In directory hutz:/tmp/cvs-serv22744/src/org/w3c/unicorn/request

Modified Files:
	URIRequest.java 
Log Message:
301 redirections has been corrected in Jigsaw's HttpURLConnection, removed useless code

Index: URIRequest.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/request/URIRequest.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- URIRequest.java	6 Oct 2009 12:36:25 -0000	1.13
+++ URIRequest.java	6 Oct 2009 14:48:16 -0000	1.14
@@ -124,7 +124,6 @@
 			logger.debug("URL : " + aURL + " .");
 			
 			HttpURLConnection aURLConnection = (HttpURLConnection) aURL.openConnection();
-			aURLConnection.setInstanceFollowRedirects(true);
 			aURLConnection.setConnectTimeout(connectTimeOut);
 			aURLConnection.setReadTimeout(readTimeOut);
 			aURLConnection.setRequestProperty("Accept-Language", this.sLang);
Received on Tuesday, 6 October 2009 14:48:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:15 GMT