Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 28336 invoked from network); 17 Jan 2002 19:11:19 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 17 Jan 2002 19:11:19 -0000 Received: (qmail 3620 invoked by uid 97); 17 Jan 2002 19:11:18 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 3604 invoked by uid 97); 17 Jan 2002 19:11:18 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 3593 invoked from network); 17 Jan 2002 19:11:17 -0000 Message-ID: <921E60ADEB30D84EACA350AD31A1FD7506E251@chiex02> From: "Waldhoff, Rodney" To: 'Jakarta Commons Developers List' Subject: RE: RFC: HttpClient: PostMethod Change Proposal Date: Thu, 17 Jan 2002 13:11:16 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C19F8A.BCF46100" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C19F8A.BCF46100 Content-Type: text/plain; charset="iso-8859-1" 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. ------_=_NextPart_001_01C19F8A.BCF46100--