Skip to content

Commit

Permalink
fixex #1750
Browse files Browse the repository at this point in the history
trivial
  • Loading branch information
alex-eri authored and fafhrd91 committed Mar 26, 2017
1 parent 4f1a8a1 commit aa5e051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp/formdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _gen_form_urlencoded(self):

charset = self._charset if self._charset is not None else 'utf-8'
return payload.BytesPayload(
urlencode(data, doseq=True).encode(charset),
urlencode(data, doseq=True, encoding=charset).encode(),
content_type='application/x-www-form-urlencoded')

def _gen_form_data(self):
Expand Down

0 comments on commit aa5e051

Please sign in to comment.