问题:
I need to get all the Django request headers. 我需要获取所有Django请求标头。 From what i've read, Django simply dumps everything into the request.META
variable along with a lot aof other data. 根据我的阅读,Django只是将所有内容都转储到request.META
变量以及许多其他数据中。 What would be the best way to get all the headers that the client sent to my Django application? 获取客户端发送到我的Django应用程序的所有标头的最佳方法是什么?
I'm going use these to build a httplib
request. 我将使用这些来构建httplib
请求。