Retrieving custom metadata with HSwift
When you check the existence of or retrieve an object that has a .metapairs annotation containing well-formed XML, the response headers include X-Object-Meta-name
headers with property/value pairs that correspond to the XML elements in the annotation. The property names in these headers are the element names with the initial meta-
removed.
An element with comma-separated values is returned as multiple X-Object-Meta-
headers with individual property/value pairs. Here's an example that shows an XML element with comma-separated values and the X-Object-Meta-
header that results from that element:
<meta-author> <![CDATA[P.D Grey,Morgan White,Paris Black]]> </meta-author> X-Object-Meta-author: P.D Grey X-Object-Meta-author: Morgan White X-Object-Meta-author: Paris Black