Clarify that request.headers names are converted to lowercase

pull/1753/head
Simon Willison 2022-05-28 18:42:31 -07:00 zatwierdzone przez GitHub
rodzic b010af7bb8
commit adedd85b68
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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