diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/cors.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/cors.rst b/doc/source/cors.rst index 99e5dc0..2788096 100644 --- a/doc/source/cors.rst +++ b/doc/source/cors.rst @@ -52,8 +52,8 @@ something like this:: allowed_origin=https://website.example.com:443,https://website2.example.com:443 max_age=3600 allow_methods=GET,POST,PUT,DELETE - allow_headers=Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma,X-Custom-Header - expose_headers=Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma,X-Custom-Header + allow_headers=X-Custom-Header + expose_headers=X-Custom-Header This middleware permits you to override the rules for multiple `allowed_origin`'s. To express this in your configuration file, first begin @@ -102,8 +102,8 @@ will add CORS support.:: allowed_origin=https://website.example.com:443,https://website2.example.com:443 max_age=3600 allow_methods=GET,POST,PUT,DELETE - allow_headers=Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma,X-Custom-Header - expose_headers=Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma,X-Custom-Header + allow_headers=X-Custom-Header + expose_headers=X-Custom-Header If your application is using pastedeploy, but would also like to use the existing configuration from oslo_config in order to simplify the points of |