diff options
Diffstat (limited to 'doc/source/cors.rst')
-rw-r--r-- | doc/source/cors.rst | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/doc/source/cors.rst b/doc/source/cors.rst index 99e5dc0..dbd93a3 100644 --- a/doc/source/cors.rst +++ b/doc/source/cors.rst @@ -79,18 +79,6 @@ reasonable human-readable string:: allowed_origin=* allow_methods=GET -If your software requires specific headers or methods for proper operation, you -may include these as latent properties. These will be evaluated in addition -to any found in configuration:: - - from oslo_middleware import cors - - app = cors.CORS(your_wsgi_application) - app.set_latent(allow_headers=['X-System-Header'], - expose_headers=['X-System-Header'], - allow_methods=['GET','PATCH']) - - Configuration for pastedeploy ----------------------------- @@ -116,12 +104,6 @@ configuration, this may be done as follows.:: # Optional field, in case the program name is different from the project: oslo_config_program = oslo_project_name-api - # This method also permits setting latent properties, for any origins set - # in oslo config. - latent_allow_headers=X-Auth-Token - latent_expose_headers=X-Auth-Token - latent_methods=GET,PUT,POST - Configuration Options --------------------- |