mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New request.cookies property
This commit is contained in:
parent
b4cd8797b8
commit
1d0bea157a
3 changed files with 12 additions and 7 deletions
|
|
@ -27,6 +27,9 @@ The request object is passed to various plugin hooks. It represents an incoming
|
|||
``.headers`` - dictionary (str -> str)
|
||||
A dictionary of incoming HTTP request headers.
|
||||
|
||||
``.cookies`` - dictionary (str -> str)
|
||||
A dictionary of incoming cookies
|
||||
|
||||
``.host`` - string
|
||||
The host header from the incoming request, e.g. ``latest.datasette.io`` or ``localhost``.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue