We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba01c25 commit 21f6208Copy full SHA for 21f6208
1 file changed
scripts/vm/hypervisor/xenserver/s3xen
@@ -270,7 +270,7 @@ class S3Client(object):
270
headers = {
271
self.HEADER_CONTENT_MD5: compute_md5(src_filename),
272
self.HEADER_CONTENT_TYPE: 'application/octet-stream',
273
- self.HEADER_CONTENT_LENGTH: os.stat(src_filename).st_size,
+ self.HEADER_CONTENT_LENGTH: str(os.stat(src_filename).st_size),
274
}
275
276
def send_body(connection):
0 commit comments