Filed in Product & Development by Megan Meza | December 13, 2012 11:00 am
Rackspace is pleased to announce the release of CORS (Cross Origin Resource Sharing) headers for Cloud Files content. CORS headers can be used to open communication between the browser and Cloud Files.
Setting up CORS headers in Cloud Files is simple for API users (this feature is not yet available in our Control Panels). Using the API, set metadata on your containers for the following:
This is a list of origins allowed to make cross origin requests, and should be space separated
The length of time, in seconds, that you want the origin to hold the preflight results
These are headers that you allow in the request from the browser
CORS headers should be used in conjunction with Form Post and Temp URL. You can get details about using this feature in our Cloud Files API Developer guide.
If you have additional questions, please feel free to ask them here, contact our Fanatical Support Team or email me directly at firstname.lastname@example.org.
Source URL: http://www.rackspace.com/blog/cors-headers-for-cloud-files-content-available-now/
Copyright ©2015 The Official Rackspace Blog unless otherwise noted.