hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Fray <florian.f...@fray-it.de>
Subject Re: Redirection not happening?
Date Wed, 17 Feb 2016 08:28:36 GMT
Hi Karl,

DefaultRedirectStrategy will follow redirects depending on the HTTP method used.
GET and HEAD requests should follow the redirects, PUT and POST won’t.
In case of POSTs one can use LaxRedirectStrategy.
If none of these methods are used, you’ll have to implement your own RedirectStrategy, e.g.
by extending DefaultRedirectStrategy and overriding „isRedirectable“.

Regards,

Florian

> Am 16.02.2016 um 22:58 schrieb Karl Wright <daddywri@gmail.com>:
> 
> HttpClientBuilder


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message