]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Content-length missing in put_object
authorMarc Koderer <m.koderer@telekom.de>
Wed, 19 Jun 2013 14:07:44 +0000 (16:07 +0200)
committerMarc Koderer <m.koderer@telekom.de>
Wed, 26 Jun 2013 05:50:02 +0000 (07:50 +0200)
commit5e8ab1cd857eb5cedfd367251f3d6fa34fb6c861
treeb4d43f5f5a1f6e5801db30a41364e43f4e649cb6
parent6f3b40c59dc46765677930016edf0ba1f7dbd1f9
Content-length missing in put_object

Radosgw returns a "411 Length Required" in case the content-length is not
specified. The parameter content_type is not set which leads to the problem
that content_length cannot be determined. Since the content length is already
computed in backup/services/swift it shouldn't be a problem to set this
parameter.

Conflicts:
cinder/backup/services/swift.py

Change-Id: I4c56823d70fcd1a801a75bfd14f474a2780dc1ac
cinder/backup/services/swift.py