Fix for Requests Change
* Requests will no longer accept non-string values for headers. Changed the test create_object_manifest_with_tempurl to work as such. Change-Id: I48fcc140af315fece5acc2038fa43976982ff540
This commit is contained in:
parent
1f42ddd6df
commit
59a3c8b058
|
@ -1033,7 +1033,7 @@ class TempUrlTest(ObjectStorageFixture):
|
|||
TEMPURL_KEY_LIFE,
|
||||
self.tempurl_key)
|
||||
|
||||
headers = {'Content-Length': 0,
|
||||
headers = {'Content-Length': "0",
|
||||
'X-Object-Manifest': '{0}/e'.format(exploit_container_name)}
|
||||
params = {'temp_url_sig': tempurl_data.get('signature'),
|
||||
'temp_url_expires': tempurl_data.get('expires')}
|
||||
|
|
Loading…
Reference in New Issue