Created
August 29, 2014 19:02
-
-
Save parlarjb/63cf81802f1f1bfcbc22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
At mycloud.rackspace.com, each file inside of a Container has an actions widget. One of the items in the widget is "Edit Headers". | |
 | |
The available headers are: | |
 | |
Containers themselves also have an actions widget, but that widget does *not* include "Edit Headers". | |
I'd like to be able to set these headers via the API. The only reference I can find to them anywhere in the docs is [here](http://docs.rackspace.com/files/api/v1/cf-devguide/content/CORS_Container_Header-d1e1300.html) | |
Note though that those docs state that `X-Container-Meta-Access-Control-Allow-Origin`, etc., are set on the container, not on the object. | |
When I set one of the headers via the web panel, and then do a `getFile` on the file with [the pkgcloud library](https://github.com/pkgcloud/pkgcloud/blob/master/docs/providers/rackspace/storage.md#file-model), the data coming back doesn't show the header anywhere. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment