commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir D. Kolsky" <a...@kolsky.com>
Subject RE: HttpClient Post
Date Wed, 24 Apr 2002 04:37:03 GMT
Please do (support the body directly). It does not make sense not to, especially since it is
a common practice.

I'm trying to override PutMethod. When the HTTP header is built, getName is used to figure
out which method it is, right?

-----Original Message-----
From: Waldhoff, Rodney [mailto:rwaldhof@us.britannica.com]
Sent: Wed, April 24, 2002 3:00 AM
To: 'Jakarta Commons Developers List'
Subject: RE: HttpClient Post


The TestWebappMethods TestCase has examples of using POST (and PUT). See
http://cvs.apache.org/viewcvs/jakarta-commons/httpclient/src/test/org/apache
/commons/httpclient/TestWebappMethods.java?rev=1.3&content-type=text/vnd.vie
wcvs-markup

This old thread
http://marc.theaimsgroup.com/?l=jakarta-commons-dev&m=101234571917183&w=2
may speak to your question.

We've had several requests along these lines (wanting to use POST to submit
an arbitrary body--like PUT does--rather than submitting name/value pairs),
perhaps we should just go ahead and support it directly.


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message