简体   繁体   中英

How to get full text of request (not response) headers?

I have to ensure that curl is sending cookies propertly, so I should 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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM