- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 06 Oct 2009 12:36:27 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/request In directory hutz:/tmp/cvs-serv19030/src/org/w3c/unicorn/request Modified Files: URIRequest.java Log Message: added explicit setInstanceFollowRedirect(true) Index: URIRequest.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/request/URIRequest.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- URIRequest.java 6 Oct 2009 10:03:24 -0000 1.12 +++ URIRequest.java 6 Oct 2009 12:36:25 -0000 1.13 @@ -124,6 +124,7 @@ 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 12:36:29 UTC