Browse Source

[raz] Do not harcode method to GET

Romain Rigaux 4 years ago
parent
commit
07189fead9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/libs/aws/src/aws/s3/s3connection.py

+ 1 - 1
desktop/libs/aws/src/aws/s3/s3connection.py

@@ -123,7 +123,7 @@ class RazS3Connection(SignedUrlS3Connection):
     # Actual override starts here
     LOG.debug('Overriding: %s, %s, %s, %s, %s, %s, %s' % (method, path, auth_path, params, headers, data, host))
 
-    signed_url = self.get_signed_url(action='GET', bucket_name=bucket, object_name=key)
+    signed_url = self.get_signed_url(action=method, bucket_name=bucket, object_name=key)
     LOG.debug(signed_url)
 
     parsed_url = lib_urlparse(signed_url)