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:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 4:02 PM To: [email protected] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
