Skip to content

Commit

Permalink
Merge pull request jazzband#39 from ilvar/master
Browse files Browse the repository at this point in the history
Added utf8 in curl query parameters
  • Loading branch information
mtford90 committed Sep 18, 2014
2 parents 9bbee95 + eceb469 commit 00e3dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silk/code_generation/curl.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def _curl_process_params(body, content_type, query_params):
modifier = None
if query_params:
try:
query_params = urlencode(query_params)
query_params = urlencode([(k, v.encode('utf8')) for k, v in query_params.items()])
except TypeError:
pass
query_params = '?' + str(query_params)
Expand Down

0 comments on commit 00e3dcb

Please sign in to comment.