Paul C. Bryan wrote: > I would like to propose a change to the PostMethod class, > to allow the request body to be optionally set directly > from an InputStream. Presently, the only way a PostMethod's > request body can be se is through parameters.
> I propose a new method: public void setRequestBody(InputStream), > which will read the input stream and populate the request body. > Checks will be in place to ensure only body can be set xor > parameters can be set. Most of the code would be adapted from > PutMethod.setRequestBody(InputStream). > Your Opinion: > [X] I agree with the proposal as outlined. > Make it so. Sounds reasonable to me.
