Opened 10 years ago
Closed 10 years ago
#25368 closed Cleanup/optimization (invalid)
Rename X_CSRFTOKEN to X-CSRFTOKEN
Description ¶
Is it possible to rename X_CSRFTOKEN to X-CSRFTOKEN at middleware/csrf.py ?
Using underscore in http header name is not common at all.
http://www.iana.org/assignments/message-headers/message-headers.xml#perm-headers
Note:
See TracTickets
for help on using tickets.
Hi, I think you've missed the documentation on how Django treats HTTP headers: