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 >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 nothing that forbids such behavior. As mentioned some weeks ago on this list I am doing some refactoring of the HttpMethod classes to cope with this and other problems. Once my project is completed I'll merge my changes with the mainstream httpclient, if the httpclient contributers permit. Best regards Rainer Klute Rainer Klute IT-Consulting GmbH i. Gr. Dipl.-Inform. Rainer Klute E-Mail: [EMAIL PROTECTED] K�rner Grund 24 Telefon: +49 172 2324824 D-44143 Dortmund Telefax: +49 231 5349423 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
