Fix the http request headers being overwritten in logging
Fix the http request headers in put_object being overwritten in logging Change-Id: Id0d1e36561a61ed1ce30d93c801ec32f058a6fa4 Closes-bug: #1501292
This commit is contained in:
parent
a564eb0e4c
commit
61880c6f98
@ -1128,7 +1128,6 @@ def put_object(url, token=None, container=None, name=None, contents=None,
|
||||
|
||||
resp = conn.getresponse()
|
||||
body = resp.read()
|
||||
headers = {'X-Auth-Token': token}
|
||||
http_log(('%s%s' % (url.replace(parsed.path, ''), path), 'PUT',),
|
||||
{'headers': headers}, resp, body)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user