raw_args for request objects
This commit is contained in:
parent
9c68d713ba
commit
5b704478d9
|
@ -121,6 +121,10 @@ class Request(dict):
|
|||
self.parsed_args = RequestParameters()
|
||||
return self.parsed_args
|
||||
|
||||
@property
|
||||
def raw_args(self):
|
||||
return {k: v[0] for k, v in self.args.items()}
|
||||
|
||||
@property
|
||||
def cookies(self):
|
||||
if self._cookies is None:
|
||||
|
|
Loading…
Reference in New Issue
Block a user