New request.actor property, refs #811

This commit is contained in:
Simon Willison 2020-06-08 10:05:32 -07:00
commit 177059284d
8 changed files with 16 additions and 7 deletions

View file

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