开发者

Django / Python how to get the full request header? [duplicate]

开发者 https://www.devze.com 2023-01-14 05:54 出处:网络
This question already has answers here: 开发者_JAVA技巧 How can I get all the request headers in Django?
This question already has answers here: 开发者_JAVA技巧 How can I get all the request headers in Django? (10 answers) Closed 6 years ago.

I've been looking over what I can find about this and found something about denying access to specific user-agents but couldn't find how I can actually get the full request header. I am trying to make a customized analytics app so would like access to the full headers.. any info is appreciated.


All the headers are available in request.META. See the documentation.

0

精彩评论

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