DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20481>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20481

Possible error with PostMethod.generateRequestBody() when using a parameter of the 
form: select(c)





------- Additional Comments From [EMAIL PROTECTED]  2003-06-05 02:04 -------
I believe that PostMethod handles parameters correctly.  ( and ) are not reserved 
characters and 
therefore do not need to be encoded.  Are you using the addParameter() or 
the setRequestBody(NameValuePair[]) methods of PostMethod?  If not my guess is that 
the content 
type is not being set correctly.  When posting form values the content type should be 
"application/
x-www-form-urlencoded", which is used when setting the params.  If the requestBody is 
set as a 
single string or stream the content type will need to be specified manually.  If 
setting the content 
type doesn't fix the problem please post a wire log and some sample code if possible.

http://jakarta.apache.org/commons/httpclient/logging.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to