LeonidR
LeonidR

Reputation: 117

How do I see the final HTTP request via Erlang's httpc?

I've checked out http://erlang.org/doc/man/httpc.html, but all of the Verbose options seem to give different internal state of httpc. Is there a setting or some other mechanism, so that I can see the final (raw) HTTP request as generated by httpc?

Many thanks,

Upvotes: 0

Views: 242

Answers (1)

Nathaniel Waisbrot
Nathaniel Waisbrot

Reputation: 24493

For the raw output, I would go straight to tcpdump. That gets you the true output, and the true reply. If you use Wireshark, it's quite readable and makes decrypting any SSL easy, too.

Upvotes: 1

Related Questions