Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
trivial
  • Loading branch information
alex-eri authored Mar 25, 2017
1 parent 8a539ef commit b3aa04b
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 b3aa04b

Please sign in to comment.