]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Added Keystone and RequestID headers to CORS middleware
authorMichael Krotscheck <krotscheck@gmail.com>
Fri, 8 Jan 2016 19:14:29 +0000 (11:14 -0800)
committerMichael Krotscheck <krotscheck@gmail.com>
Mon, 11 Jan 2016 17:52:47 +0000 (09:52 -0800)
commit6383d790fda6b072fe253d5305c35994a1f65712
treebd03dfa92b15986d1da1c184f7ca89fb56963aa8
parent81f7986c16ecd589017486e60fb39544c5c409a8
Added Keystone and RequestID headers to CORS middleware

CORS middleware's latent configuration feature, new in 3.0.0,
allows adding headers that apply to all valid origins.
This patch adds headers commonly used in openstack to cinder's paste
pipeline, so that operators do not have to be aware of additional
configuration magic to ensure that browsers can talk to the API.

For more information:
http://docs.openstack.org/developer/oslo.middleware/cors.html#configuration-for-pastedeploy

Change-Id: I77980aad268fecd1d14cb57e6140f039c01d0eb4
etc/cinder/api-paste.ini