Commits

toumhi  committed 28b5efa

fixing problem with latin-1 characters.

  • Participants
  • Parent commits 596e7c0

Comments (0)

Files changed (1)

         else:
             raise "Invalid expires state"
 
+        if 'response-content-disposition' in query_args:
+            query_args['response-content-disposition'] = query_args['response-content-disposition'].encode('utf-8')
         canonical_str = canonical_string(method, bucket, key, query_args, headers, expires)
         encoded_canonical = encode(self.aws_secret_access_key, canonical_str)