Cloud file metadata: any reason related to custom meta?

I am using Rackspace Cloud Files with the PHP API to store downloaded files. Documents are referenced in the local database for easy retrieval. Everything works well, but I have some problems with storing metadata. I store custom metadata with cloud files through the Rest API.

https://github.com/rackspace/php-cloudfiles

I store some custom name / value pairs in the "metadata" for the cloud file. Seems metadata is for httpd headers like Content-Type?

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

Is there a problem with saving some custom metadata fields to cloud file metadata? For example, I save the following to find where the document was created: "Current-Url", "Document Type", "Original Name". I assume that everything will be fine if this is no longer a typical heading?

+3
source share
1 answer

According to their docs:

http://docs.rackspace.com/files/api/v1/cf-devguide/content/Update_Container_Metadata-d1e1900.html

The only thing you need to do is prefix user metadata:

X-Container-Meta-

No problem saving custom metadata.

+3
source

All Articles