更改http请求标头
答
您可以制作一个中间件,它将破解或替换请求对象。
https://docs.djangoproject.com/en/dev/topics/http/middleware/#writing-your-own-middleware