KATO Tomoyuki 3f0b17039c [config-ref] add Clustering service config options
backport: mitaka

Change-Id: Id43ea4262b1137f8d7342f56782fe204d8af92b5
Closes-Bug: #1603752
2016-07-20 01:45:05 +00:00

2.4 KiB

Description of CORS configuration options
Configuration option = Default value Description
[cors]
allow_credentials = True (Boolean) Indicate that the actual request can include user credentials
allow_headers = (List) Indicate which header field names may be used during the actual request.
allow_methods = OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, PATCH (List) Indicate which methods can be used during the actual request.
allowed_origin = None (List) Indicate whether this resource may be shared with the domain received in the requests "origin" header. Format: "<protocol>://<host>[:<port>]", no trailing slash. Example: https://horizon.example.com
expose_headers = (List) Indicate which headers are safe to expose to the API. Defaults to HTTP Simple Headers.
max_age = 3600 (Integer) Maximum cache age of CORS preflight requests.
[cors.subdomain]
allow_credentials = True (Boolean) Indicate that the actual request can include user credentials
allow_headers = (List) Indicate which header field names may be used during the actual request.
allow_methods = OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, PATCH (List) Indicate which methods can be used during the actual request.
allowed_origin = None (List) Indicate whether this resource may be shared with the domain received in the requests "origin" header. Format: "<protocol>://<host>[:<port>]", no trailing slash. Example: https://horizon.example.com
expose_headers = (List) Indicate which headers are safe to expose to the API. Defaults to HTTP Simple Headers.
max_age = 3600 (Integer) Maximum cache age of CORS preflight requests.