How to get full text of request (not response) headers?
I have to ensure that curl
is sending cookies propertly, so I shoul开发者_如何学God view full text of request
(not response!) http headers. Is there any way to do it?
Thank you
Obviously, you need to intercept the request headers at some point. Considering you want to see headers from curl
, I would suggest setting up a transparent proxy. For a relatively simpler solution, I would suggest a tool such as WireShark.
精彩评论