From 483b442b7d806c2acc817096ef8eb816506cc607 Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Thu, 16 Feb 2017 15:54:20 -0600 Subject: [PATCH] Default request.args to RequestParameters --- sanic/request.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sanic/request.py b/sanic/request.py index 98381aae..51591f1f 100644 --- a/sanic/request.py +++ b/sanic/request.py @@ -119,8 +119,7 @@ class Request(dict): self.parsed_args = RequestParameters( parse_qs(self.query_string)) else: - self.parsed_args = {} - + self.parsed_args = RequestParameters() return self.parsed_args @property