Merge pull request #454 from seemethere/fix_empty_request_args

Default request.args to RequestParameters
This commit is contained in:
Eli Uriegas 2017-02-16 17:16:55 -06:00 committed by GitHub
commit 426d0e6af1

View File

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