Merge pull request #454 from seemethere/fix_empty_request_args
Default request.args to RequestParameters
This commit is contained in:
commit
426d0e6af1
|
@ -119,8 +119,7 @@ class Request(dict):
|
||||||
self.parsed_args = RequestParameters(
|
self.parsed_args = RequestParameters(
|
||||||
parse_qs(self.query_string))
|
parse_qs(self.query_string))
|
||||||
else:
|
else:
|
||||||
self.parsed_args = {}
|
self.parsed_args = RequestParameters()
|
||||||
|
|
||||||
return self.parsed_args
|
return self.parsed_args
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue
Block a user