
backport: mitaka Change-Id: Id43ea4262b1137f8d7342f56782fe204d8af92b5 Closes-Bug: #1603752
2.4 KiB
2.4 KiB
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. |