On Mon, 2018-06-25 at 09:14 +0000, Khare, Aparna wrote:
> Hi All,
>  
>   We have moved our application to version 4.5.2 and we want to check
> how we can configure our httpclient to handle redirection ..
>  
> We connect to the proxy agent which takes only http calls. The
> redirected URL is https how can we enable the redirection only make
> an connection( HTTP proxy ).
>  
> Can we make redirectionStrategy to only make HTTP call even the call
> is https..
>  
> Thanks,
> Aparna

Aparna


You can either

1. use a custom RedirectStrategy that rewrites redirect locations from
https:// to http://

2. use custom HttpRoutePlanner to route all requests to 'http' port
instead of 'https'

Hope this helps

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to