Quantcast
Channel: Active questions tagged header - Stack Overflow
Viewing all articles
Browse latest Browse all 651

How do I get the entire contents of a request's original request header using python [duplicate]

$
0
0

such as

POST /service/rapture/session HTTP/1.1Host: 192.168.136.155:8081Content-Length: 39X-Requested-With: XMLHttpRequestX-Nexus-UI: trueUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.127 Safari/537.36NX-ANTI-CSRF-TOKEN: 0.74934606792014381.1.691978768.1713947526; _gid=GA1.1.1983366476.1713947526; metabase.TIMEOUT=alivContent-Type: application/x-www-form-urlencoded; charset=UTF-8Accept: */*

how can i get this header?

i have used requests method, but the request header content it returns is very small.


Viewing all articles
Browse latest Browse all 651

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>