httpclient method handling redirects to non-http protocol
---------------------------------------------------------
Key: HTTPCLIENT-706
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-706
Project: HttpComponents HttpClient
Issue Type: Wish
Components: HttpClient
Affects Versions: 3.1 Final
Environment: os X 10.5
Reporter: adam brin
Priority: Minor
HTTPClient does not handle protocol redirects 'nicely'. When you call
client.executeMethod(method) on a url like [1] the client throws an
IllegalStateException. Clearly, this is not a bug, the enhancement is/would be
to better handle the http redirect that happens prior to the protocol change.
Specifically, either not throwing an exception, but setting a status variable
or something so you can pick up the redirected URI/protocol.
http://earthobservatory.nasa.gov/cgi-bin/redirect?ftp://eol.jsc.nasa.gov/debriefing_highres_ISS006_ISS006-E-33736.JPG
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]