MCPcopy Create free account
hub / github.com/s3tools/s3cmd / update_timestamp

Method update_timestamp

S3/S3.py:156–159  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

154 self.headers['x-amz-request-payer'] = 'requester'
155
156 def update_timestamp(self):
157 if "date" in self.headers:
158 del(self.headers["date"])
159 self.headers["x-amz-date"] = time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime())
160
161 def use_signature_v2(self):
162 if self.s3.endpoint_requires_signature_v4:

Callers 1

get_tripletMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected