PostMethod.setFollowRedirects(true); - do nothing

2004-01-29 Thread JEAN REMI LECQ
(true); - do nothing Eric Johnson wrote: Redirect on a POST request is *not supported* This stems from fundamental architectural limitations of the current HttpClient 2.0 design. Actually the problem is two-fold: 1. redirect in HttpClient means: The *same* request ist sent to a different

Re: PostMethod.setFollowRedirects(true); - do nothing

2004-01-29 Thread Roland Weber
HttpClient Project To: Commons HttpClient Project [EMAIL PROTECTED] cc: Subject:PostMethod.setFollowRedirects(true); - do nothing Sorry to come again with the same question, but I do not know what to do... I read carefully your replies and do what you said

Re: PostMethod.setFollowRedirects(true); - do nothing

2004-01-21 Thread Ortwin Glück
Eric Johnson wrote: Redirect on a POST request is *not supported* This stems from fundamental architectural limitations of the current HttpClient 2.0 design. Actually the problem is two-fold: 1. redirect in HttpClient means: The *same* request ist sent to a different URL (on the same

PostMethod.setFollowRedirects(true); - do nothing

2004-01-20 Thread JEAN REMI LECQ
Somebody help ! I follow all directive in http://jakarta.apache.org/commons/httpclient/redirects.html... But my PostMethode can still not follow redirection !! :-( My code : * Cookie cookie1 = new Cookie(www.XXX.com, CFID, cookies[0].getValue(), /, null, false); Cookie cookie2 = new

Re: PostMethod.setFollowRedirects(true); - do nothing

2004-01-20 Thread Eric Johnson
Jean-Remi, You should re-read Oleg's previous response. Redirect on a POST request is *not supported*, no matter how many times you set the flag. You will have to follow the redirect yourself, as Oleg suggests (http://jakarta.apache.org/commons/httpclient/redirects.html). This stems from

PostMethod.setFollowRedirects(true); - do nothing

2004-01-19 Thread JEAN REMI LECQ
Hi, Sorry for my english ! I will make short to be sure you anderstand me... I read a big part of the mailing list archive, but i do not find a solution by now. I encounter difficulties to make a redirection after a POST Method: Error message :