Return-Path: Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 52574 invoked from network); 18 Mar 2003 08:23:23 -0000 Received: from unknown (HELO KCCXOEX10.corp.kpmgconsulting.com) (57.80.136.22) by daedalus.apache.org with SMTP; 18 Mar 2003 08:23:23 -0000 Received: from kccxoex03.corp.kpmgconsulting.com ([57.80.136.6]) by KCCXOEX10.corp.kpmgconsulting.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 18 Mar 2003 08:24:52 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: redirects not allowed for PostMethod Date: Tue, 18 Mar 2003 08:23:33 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: redirects not allowed for PostMethod Thread-Index: AcLtJrFrDe+eYMJGTMaF//Er0769LAAAU0Nw From: "Kalnichevski, Oleg" To: "Commons HttpClient Project" X-OriginalArrivalTime: 18 Mar 2003 08:24:52.0015 (UTC) FILETIME=[D902EBF0:01C2ED27] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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=FCck [mailto:ortwin.glueck@nose.ch] Sent: Dienstag, 18. M=E4rz 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=20 > 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=20 and not to the GetMethod instance. So you would not be able get *any*=20 data back (not even a status code)! --------------------------------------------------------------------- To unsubscribe, e-mail: = commons-httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: = commons-httpclient-dev-help@jakarta.apache.org