hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "adam brin (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HTTPCLIENT-707) httpclient method handling redirects to non-http protocol
Date Sun, 25 Nov 2007 22:34:43 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

adam brin closed HTTPCLIENT-707.

    Resolution: Duplicate

> httpclient method handling redirects to non-http protocol
> ---------------------------------------------------------
>                 Key: HTTPCLIENT-707
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-707
>             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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org

View raw message