开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜