Sebastiano Vigna created HTTPCLIENT-1295:
--------------------------------------------
Summary: Syncronous and asynchronous versions of the client report
exception in a slightly different way
Key: HTTPCLIENT-1295
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1295
Project: HttpComponents HttpClient
Issue Type: Bug
Components: HttpClient
Affects Versions: 4.2.2
Reporter: Sebastiano Vigna
Priority: Minor
This is more a "surprising behaviour" report than a true bug report. We noticed
that if you use the asynchronous client and perform too many redirects, the
exception passed to the FutureCallback is a RedirectException. However, if you
use the synchronous client the execute() method throws a
ClientProtocolException whose cause is a RedirectException. If this behaviour
is intended it should be probably documented.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]