Skip to content

Commit

Permalink
- errors duplicate fix
Browse files Browse the repository at this point in the history
- query params bad keys fix
- MultiDict error in POST/PUT methods fix
  • Loading branch information
Сивов Александр Александрович committed Nov 11, 2016
1 parent 8102111 commit d5a6faf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion djaio/core/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async def from_http(self, request):
req_params = {}
# if GET or DELETE we read a query params
if request.method in (METH_GET, METH_DELETE):
req_params = self.process_request(request.rel_url.query)
req_params = self.process_request(request.GET)
# else we read a POST-data
elif request.method in (METH_PUT, METH_POST):
try:
Expand Down
2 changes: 1 addition & 1 deletion djaio/tests/data/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,4 +484,4 @@
"But now...\u001b[20Cfor my greatest trick...\u001b[8m",
"The quic\b\b\b\b\b\bk brown fo\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007x... [Beeeep]",
"Powerلُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ冗"
]
]

0 comments on commit d5a6faf

Please sign in to comment.