]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Added Keystone and RequestID headers to CORS middleware
authorMichael Krotscheck <krotscheck@gmail.com>
Fri, 8 Jan 2016 19:18:51 +0000 (11:18 -0800)
committerMichael Krotscheck <krotscheck@gmail.com>
Thu, 14 Jan 2016 17:32:48 +0000 (09:32 -0800)
commit3d7ef0400e45b47fa369cfc498adbf76ad52f336
tree258e8752da57728bb310538ba64216926aa26944
parent70cd83daf2a201705d1eb13dfd0786622312e2fa
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 neutron'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: Ic08fcb7833563bbeca3e0ba2d03438d4be594418
etc/api-paste.ini
neutron/pecan_wsgi/app.py