[Openstack-operators] allowed_headers in object-server.conf - how do they work?
irmatov at gmail.com
Thu Jun 23 12:36:09 UTC 2011
What I am trying to do is to set up a public accessible container for
some files. As an option, I think of placing files with names being
some identification string, like '04532csd23'. But when a user
downloads this file, I want to give them Content-disposition header
with a true filename (like 'swift-1.3.0.tar.gz). When I tried to
attach this header to already uploaded object, it is transformed to
X-Object-Meta-Content-Disposition. This is not what I want.
Looking at object-server.conf.sample I see a setting allowed_headers.
What is the purpose of this header, how it will change processing of
meta tags on objects? I see a patch
that permits 'default support for content-disposition'. It seems that
this patch is not included into 1.3.0 release we are using.
Timur Irmatov, xmpp:irmatov at jabber.ru
More information about the Openstack-operators