commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: DO NOT REPLY [Bug 10553] New: - New method to add an array of parameters to a HttpMethod
Date Tue, 09 Jul 2002 00:42:21 GMT
Sounds good to me. 

Also, the distinction between 'parameter' for post and 'query string' fore 
the others on HttpMethod seems a bit arbitrary to me as well.....
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


bugzilla@apache.org wrote on 07/09/2002 12:11:05 AM:

> 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=10553>.
> 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=10553
> 
> New method to add an array of parameters to a HttpMethod
> 
>            Summary: New method to add an array of parameters to a 
HttpMethod
>            Product: Commons
>            Version: Nightly Builds
>           Platform: All
>         OS/Version: Other
>             Status: NEW
>           Severity: Enhancement
>           Priority: Other
>          Component: HttpClient
>         AssignedTo: commons-dev@jakarta.apache.org
>         ReportedBy: jsdever@sympatico.ca
> 
> 
> When posting a form a web page may have many parameters to post to the 
> webserver.  Currently in PostMethod, if you wanted to add multiple 
> parameters, 
> you would have to call addParameter(name, value) for each one.
> 
> A new convinence method should be added to allow for simpler client code 
by 
> taking an array of NameValuePair objects and adding all parameters 
> in a single 
> function call.
> 
> void addParameters(NameValuePair[] parameters) 
> 
> Also, the comments for PostMethod functions that deal with parameters 
> state "Override method of HttpMethodBase ..." which is incorrect.  More 
> informative comments should be added to this public API.
> 
> --
> To unsubscribe, e-mail: 
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
<mailto:commons-dev-help@jakarta.apache.org>
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message