Permalink
Browse files

Fix typo for s3 server side encryption header

Fixes #1111
  • Loading branch information...
1 parent 093dfa8 commit 835245db10ca5682fa405810f7f00f1b56f9c905 @jamesls jamesls committed Nov 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 boto/s3/connection.py
View
@@ -291,9 +291,9 @@ def build_post_form_args(self, bucket_name, key, expires_in=6000,
conditions.append('{"x-amz-storage-class": "%s"}' % storage_class)
if server_side_encryption:
- fields.append({'name': 'x-azm-server-side-encryption',
+ fields.append({'name': 'x-amz-server-side-encryption',
'value': server_side_encryption})
- conditions.append('{"x-azm-server-side-encryption": "%s"}' % server_side_encryption)
+ conditions.append('{"x-amz-server-side-encryption": "%s"}' % server_side_encryption)
policy = self.build_post_policy(expiration, conditions)

0 comments on commit 835245d

Please sign in to comment.