Clarify that request.headers names are converted to lowercase

This commit is contained in:
Simon Willison 2022-05-28 18:42:31 -07:00 committed by GitHub
commit adedd85b68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ The request object is passed to various plugin hooks. It represents an incoming
The request scheme - usually ``https`` or ``http``.
``.headers`` - dictionary (str -> str)
A dictionary of incoming HTTP request headers.
A dictionary of incoming HTTP request headers. Header names have been converted to lowercase.
``.cookies`` - dictionary (str -> str)
A dictionary of incoming cookies