mirror of https://github.com/apache/cloudstack.git
- CLOUSTACK-3229: Properly converts the Content-Length to string
representation in s3xen
This commit is contained in:
parent
ba01c25b47
commit
21f62087d3
|
|
@ -270,7 +270,7 @@ class S3Client(object):
|
|||
headers = {
|
||||
self.HEADER_CONTENT_MD5: compute_md5(src_filename),
|
||||
self.HEADER_CONTENT_TYPE: 'application/octet-stream',
|
||||
self.HEADER_CONTENT_LENGTH: os.stat(src_filename).st_size,
|
||||
self.HEADER_CONTENT_LENGTH: str(os.stat(src_filename).st_size),
|
||||
}
|
||||
|
||||
def send_body(connection):
|
||||
|
|
|
|||
Loading…
Reference in New Issue