commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiaobo Yang <xiaobo.y...@gmail.com>
Subject [HttpClient] How to output the http request body?
Date Mon, 19 Dec 2005 23:47:28 GMT
Hi,

I managed to output the http request head by adding a println statement in
HttpConnection.java (write method). When I tried to output the http request
body, I found it to be a OutputStream object. Could anybody tell me how to
print out the http request body? Also I wonder how to output the http
response for debugging purpose. Thanks in advanced.

Regards,
Xiaobo Yang

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