开发者

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

开发者 https://www.devze.com 2023-01-06 07:56 出处:网络
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?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消