You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/04/17 19:02:35 UTC
DO NOT REPLY [Bug 8215] New: -
need a way to set request body in PostMethod
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=8215>.
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=8215
need a way to set request body in PostMethod
Summary: need a way to set request body in PostMethod
Product: Commons
Version: Nightly Builds
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: HttpClient
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: xiaowei@stratify.com
Currently, there is no way for user to set the request body in PostMethod
directly. The only way to do that is by adding parameters to PostMethod. This
makes sense in most cases. However, there are situations that the user actually
knows the request body and want to set it directly. adding the following method
fixes this:
public void setRequestBody(String requestBody)
{
this.requestBody = requestBody;
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>