Redirecting POSTs breaks RFC standards. You need to extend and implement your own RedirectHandler/RedirectStrategy and tell HttpClient to use it instead of the default one.
hth. On Thu, Nov 4, 2010 at 1:45 PM, motital74 <[email protected]> wrote: > > Hello > > I am using httpclient 4.0.3 GA. > I am trying to connect to a website using the http client which required > POST request (https). > The response HTTP status of the POST request is 302 (the location header as > the URI). > for some reason that I don't understand the http client doesn't redirect > it. > The expected result is GET METHOD with the redirect URI. > Any Idea? > -- > View this message in context: > http://old.nabble.com/POST-response-with-status-302-doesn%27t-redirect-tp30134484p30134484.html > Sent from the HttpClient-User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
