Permalink
Browse files

Specify the charset as UTF-8 in make_request. Fixes issue 98.

  • Loading branch information...
1 parent 61dad77 commit e9c51245884a8e3ae4c41f4d7e5bdbdb6acee73b Mitch.Garnaat committed Dec 16, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 boto/connection.py
View
@@ -580,7 +580,7 @@ def make_request(self, action, params=None, path='/', verb='GET'):
params['Timestamp'] = time.strftime("%Y-%m-%dT%H:%M:%S", time.gmtime())
qs, signature = self.get_signature(params, verb, self.get_path(path))
if verb == 'POST':
- headers['Content-Type'] = 'application/x-www-form-urlencoded'
+ headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8'
request_body = qs + '&Signature=' + urllib.quote(signature)
qs = path
else:

0 comments on commit e9c5124

Please sign in to comment.