summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krotscheck <krotscheck@gmail.com>2016-02-26 07:55:47 -0800
committerMichael Krotscheck <krotscheck@gmail.com>2016-02-26 09:07:26 -0800
commit41bf7d9ee24c8bcaef93b75694240935c1c2b3fe (patch)
treec98f94bf1fdc6d22dfb05cf243394d22a45d0fd3
parent502e390770dfe314e0de6c78a67db196695b9662 (diff)
downloadoslo-middleware-41bf7d9ee24c8bcaef93b75694240935c1c2b3fe.tar.gz
Updated config documentation for cors_middleware
Incorporating user feedback from the ironic team. Clearly describing the data format of the origin will reduce deployment snags. Change-Id: I07d1edc1017aafa0cba1e23e155f55668379e656
-rw-r--r--oslo_middleware/cors.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/oslo_middleware/cors.py b/oslo_middleware/cors.py
index 4e3d85c..7fbe2d2 100644
--- a/oslo_middleware/cors.py
+++ b/oslo_middleware/cors.py
@@ -29,7 +29,9 @@ CORS_OPTS = [
cfg.ListOpt('allowed_origin',
default=None,
help='Indicate whether this resource may be shared with the '
- 'domain received in the requests "origin" header.'),
+ 'domain received in the requests "origin" header. '
+ 'Format: "<protocol>://<host>[:<port>]", no trailing '
+ 'slash. Example: https://horizon.example.com'),
cfg.BoolOpt('allow_credentials',
default=True,
help='Indicate that the actual request can include user '