delete_container doesn't provide arg for headers
Bug #1615830 reported by
Ryan Brady
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
Fix Released
|
Undecided
|
Charles Hsu |
Bug Description
Issue:
The usage of the swiftclient library is inconsistent due to lack of headers support.
The put_container method provides a 'headers' arg that allows you to pass headers through to the API.
The delete_container does not provide access to a 'headers' arg. This makes it difficult to send headers to middleware, e.g. trying to use bulk delete in swift middleware impossible with current swiftclient state.
Proposed solution:
Add headers arg to delete_container and update method to treat it similarly to the arg in put_container.
Changed in python-swiftclient: | |
status: | New → Confirmed |
assignee: | nobody → Charles Hsu (charles0126) |
Changed in python-swiftclient: | |
status: | In Progress → Confirmed |
Changed in python-swiftclient: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/372656
Review: https:/