Carlson [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 4:17 PM
To: [EMAIL PROTECTED]
Subject: [HttpClient] Post parameters
After experienced undesired behavior and looking at the
code it appears that POST parameters are also being
passed
to the redirected page.
I've
Hi Marc,
You asked for suggestions. As I said in my previous note,
chaining to other instances of HttpMethod would probably
help improve the readability and maintainability of the
HttpMethodBase class.
Here are more specifics on the implementation I would
suggest:
1) Have an ivar defined
in PostMethod, there is a method called setRequestBody. You can
use that to
solve your problem
That is not equivalent. I am struggling with a site that wants
some parameters in the POST request's body and others in the
query string. As far as I can tell from the relevant RFCs there
is
There are two methods, setQueryString and setRequestBody, they are
different.
-Original Message-
From: Rainer Klute [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 12:29 AM
To: Jakarta Commons Developers List
Cc: Rainer Klute
Subject: Re: [HttpClient] Post parameters
-
From: Jonathan Carlson [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 4:17 PM
To: [EMAIL PROTECTED]
Subject: [HttpClient] Post parameters
After experienced undesired behavior and looking at the
code it appears that POST parameters are also being passed
to the redirected page.
I've