can't set X-Versions-Location with swift cli "post" command

Bug #1226256 reported by clayg
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-swiftclient
Fix Released
Undecided
Matthieu Huin

Bug Description

`swift post` will accept the `--header` (-H) option - but it doesn't feed them into the headers dict for container and account posts.

Revision history for this message
clayg (clay-gerrard) wrote :
affects: swift → python-swiftclient
Matthieu Huin (mhu-s)
Changed in python-swiftclient:
assignee: nobody → Matthieu Huin (mhu-s)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-swiftclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/48612

Changed in python-swiftclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-swiftclient (master)

Reviewed: https://review.openstack.org/48612
Committed: http://github.com/openstack/python-swiftclient/commit/afa1f9f76d69471be7d97f3792bd5bdf9add3685
Submitter: Jenkins
Branch: master

commit afa1f9f76d69471be7d97f3792bd5bdf9add3685
Author: Matthieu Huin <email address hidden>
Date: Fri Sep 27 11:40:34 2013 +0200

    user defined headers added to swift post queries

    This commit fixes a problem where headers passed through the option
    --header were not taken into account when doing "post" queries.

    Change-Id: Ia34808c53a1816d9956a98e0803d8c4d20d2ad44
    Closes-Bug: #1226256

Changed in python-swiftclient:
status: In Progress → Fix Committed
Changed in python-swiftclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.