fix #1253
This commit is contained in:
parent
01257f65a6
commit
6f4b1fbd0d
|
@ -127,7 +127,7 @@ class Request(dict):
|
||||||
try:
|
try:
|
||||||
if content_type == 'application/x-www-form-urlencoded':
|
if content_type == 'application/x-www-form-urlencoded':
|
||||||
self.parsed_form = RequestParameters(
|
self.parsed_form = RequestParameters(
|
||||||
parse_qs(self.body.decode('utf-8')))
|
parse_qs(self.body.decode('utf-8'), encoding='latin1'))
|
||||||
elif content_type == 'multipart/form-data':
|
elif content_type == 'multipart/form-data':
|
||||||
# TODO: Stream this instead of reading to/from memory
|
# TODO: Stream this instead of reading to/from memory
|
||||||
boundary = parameters['boundary'].encode('utf-8')
|
boundary = parameters['boundary'].encode('utf-8')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user