Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Header Options #108

Open
rightphp opened this issue Apr 6, 2016 · 1 comment
Open

Header Options #108

rightphp opened this issue Apr 6, 2016 · 1 comment

Comments

@rightphp
Copy link

rightphp commented Apr 6, 2016

I see that in latest version (3.x) header options have been reduced.
It only gives

-BH [K=V], --base-headers [K=V]

But in older version (Turbolift 2.1.3) there were three option.
-BH [K=V], --base-headers [K=V]
-OH [K=V], --object-headers [K=V]
-CH [K=V], --container-headers [K=V]

My following command now fails because last two option are not available now.

turbolift -u user -a key --object-headers Access-Control-Allow-Origin=* --os-rax-auth ord upload -s -c

can you please tell me how can I achieve same with new version.

Thank You,
Krishan G

@cloudnull
Copy link
Owner

The object headers have moved into the upload command.

You would need to execute the following:

turbolift -u user -a key --os-rax-auth ord upload --object-headers Access-Control-Allow-Origin=* -s -c

NOTE: Turbolift 3 is a work in progress, if you run into anything please report the issues you experience so that I can get them resolved, if you're looking for a more stable experience I'd recommend staying with turbolift 2.x. Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants