mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New request.actor property, refs #811
This commit is contained in:
parent
2a8b39800f
commit
177059284d
8 changed files with 16 additions and 7 deletions
|
|
@ -74,6 +74,10 @@ class Request:
|
|||
def args(self):
|
||||
return MultiParams(parse_qs(qs=self.query_string))
|
||||
|
||||
@property
|
||||
def actor(self):
|
||||
return self.scope.get("actor", None)
|
||||
|
||||
async def post_vars(self):
|
||||
body = []
|
||||
body = b""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue