Odi We do have to split monolithic HttpMethod into HttpRequest/HttpResponse pair first. That should address the problem, as well as make the overall architecture much cleaner
Oleg -----Original Message----- From: Ortwin Glück [mailto:[EMAIL PROTECTED] Sent: Dienstag, 18. März 2003 09:16 To: Commons HttpClient Project Subject: Re: redirects not allowed for PostMethod Jeffrey Dever wrote: > I'd say that a post redirect converted to a get is good behaviour to add > as part of the redirect overhaul as discussed for httpclient 3.0 The problem of this scenario is: - you tell HttpClient to execute a POST - it is redirected and executes a GET automatically - but the application only has a reference to the PostMethod instance and not to the GetMethod instance. So you would not be able get *any* data back (not even a status code)! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]