swift/test/unit/proxy/controllers
Alistair Coles 3ad003cf51 Enable middleware to set metadata on object POST
Adds a new form of system metadata for objects.

Sysmeta cannot be updated by an object POST because
that would cause all existing sysmeta to be deleted.
Crypto middleware will want to add 'system' metadata
to object metadata on PUTs and POSTs, but it is ok
for this metadata to be replaced en-masse on every
POST.

This patch introduces x-object-transient-sysmeta-*
that is persisted by object servers and returned
in GET and HEAD responses, just like user metadata,
without polluting the x-object-meta-* namespace.
All headers in this namespace will be filtered
inbound and outbound by the gatekeeper, so cannot
be set or read by clients.

Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com>
Co-Authored-By: Janie Richling <jrichli@us.ibm.com>

Change-Id: I5075493329935ba6790543fc82ea6e039704811d
2016-06-28 11:00:33 +01:00
..
__init__.py re-use headers_to_container_info on container GET 2012-11-01 18:46:47 -07:00
test_account.py Use the same key for memcache and env['swift.infocache'] 2016-05-16 18:43:32 -07:00
test_base.py Enable middleware to set metadata on object POST 2016-06-28 11:00:33 +01:00
test_container.py Use the same key for memcache and env['swift.infocache'] 2016-05-16 18:43:32 -07:00
test_info.py Remove simplejson from tests 2015-05-28 16:05:57 -07:00
test_obj.py Support for http footers - Replication and EC 2016-06-22 11:55:49 +01:00