Merge pull request #22 from xyzkab/fix_nested_params

Fix nested params
pull/23/head
Swissky 2019-12-28 00:49:42 +01:00 committed by GitHub
commit eed342aab9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,8 @@ class Requester(object):
for arg in data.split("&"):
regex = re.compile('(.*)=(.*)')
for name,value in regex.findall(arg):
name = urllib.parse.unquote(name)
value = urllib.parse.unquote(value)
self.data[name] = value