Changeset 682:2eff2a7809b9
- Timestamp:
- 10/06/09 12:36:25 (4 years ago)
- Author:
- tgambet
- Branch:
- default
- convert_revision:
- svn:cdcfb263-7567-472c-a848-e2c2df3466e7/trunk@683
- Message:
-
added explicit setInstanceFollowRedirect(true)
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r666
|
r682
|
|
| 1 | | // $Id: URIRequest.java,v 1.12 2009-10-06 10:03:24 tgambet Exp $ |
| | 1 | // $Id: URIRequest.java,v 1.13 2009-10-06 12:36:25 tgambet Exp $ |
| 2 | 2 | // Author: Damien LEROY. |
| 3 | 3 | // (c) COPYRIGHT MIT, ERCIM ant Keio, 2006. |
| … |
… |
|
| 125 | 125 | |
| 126 | 126 | HttpURLConnection aURLConnection = (HttpURLConnection) aURL.openConnection(); |
| | 127 | aURLConnection.setInstanceFollowRedirects(true); |
| 127 | 128 | aURLConnection.setConnectTimeout(connectTimeOut); |
| 128 | 129 | aURLConnection.setReadTimeout(readTimeOut); |