Skip to content

Renamed function compute_content_md5 stll used in S3.py #1312

@mjsaarin

Description

@mjsaarin

I found out that there is sill one line in S3.py that uses compute_content_md5 instead of generate_content_md5. The diff is below.

diff  --git a/S3/S3.py b/S3/S3.py
index 9bf2e92..57275f7 100644
--- a/S3/S3.py
+++ b/S3/S3.py
@@ -1088,7 +1088,7 @@ class S3(object):
         body += '<Status>%s</Status>' % status
         body += '</VersioningConfiguration>'
         debug(u"set_versioning(%s)" % body)
-        headers['content-md5'] = compute_content_md5(body)
+        headers['content-md5'] = generate_content_md5(body)
         request = self.create_request("BUCKET_CREATE", uri = uri,
                                       headers = headers, body = body,
                                       uri_params = {'versioning': None})

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions