hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moore, Greg" <Greg_W_Mo...@adp.com>
Subject RE: capture exact Http request for wire trace
Date Tue, 08 Jul 2008 15:52:30 GMT

Take a look at http://hc.apache.org/httpclient-3.x/logging.html or
http://hc.apache.org/httpclient-3.x/troubleshooting.html 

Greg.

-----Original Message-----
From: Will McQueen [mailto:willmcqueen@yahoo.com] 
Sent: Monday, July 07, 2008 4:02 PM
To: httpclient-users@hc.apache.org
Subject: capture exact Http request for wire trace

Hi,

I use commons-httpclient-3.1 to make Web API calls. For debugging
purposes, I need to know exactly the entire HTTP request message that
was sent from my program to the server (ie, wiretrace). How can I do
this with httpclient? At first I thought there might be a toString()
method in the HttpMethodBase class that I could call after constructing
my request, but that doesn't seem to be the case. I was considering
using something like Wireshark, Fiddler, Charles, or Burp, but I'd
rather do it with httpclient if I can. Using a proxy would modify some
of the headers, I think?

Thank you.

Cheers,
Will


      

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org



This message and any attachments are intended only for the use of the addressee and may contain
information that is privileged and confidential. If the reader of the message is not the intended
recipient or an authorized representative of the intended recipient, you are hereby notified
that any dissemination of this communication is strictly prohibited. If you have received
this communication in error, please notify us immediately by e-mail and delete the message
and any attachments from your system.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message