summaryrefslogtreecommitdiff
path: root/oslo_middleware/__init__.py
diff options
context:
space:
mode:
authorCedric Brandily <zzelle@gmail.com>2015-04-15 20:44:32 +0200
committerCedric Brandily <zzelle@gmail.com>2015-06-09 13:49:41 +0200
commit6b4e821e14af7ed2362b02f2b42e9a8a5bc49672 (patch)
tree50436c34f727e07f8f1a94efa2518420ba3207f6 /oslo_middleware/__init__.py
parent027dd345f3ae6c2bd4fcda5d664e5eb71131bcd7 (diff)
downloadoslo-middleware-6b4e821e14af7ed2362b02f2b42e9a8a5bc49672.tar.gz
Add middleware to support ssl termination proxies
This change defines SSLMiddleware middleware which enables OpenStack services behind SSL termination proxies to return urls with original protocol scheme. SSLMiddleware is based on heat SSLMiddleware class. Change-Id: I72f8da160ced6ac80fdac743c00ea3f7ffb1f57c Closes-Bug: #1444490
Diffstat (limited to 'oslo_middleware/__init__.py')
-rw-r--r--oslo_middleware/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/oslo_middleware/__init__.py b/oslo_middleware/__init__.py
index ae0965b..b2ea8c0 100644
--- a/oslo_middleware/__init__.py
+++ b/oslo_middleware/__init__.py
@@ -16,7 +16,8 @@ __all__ = ['CatchErrors',
'Debug',
'Healthcheck',
'RequestId',
- 'RequestBodySizeLimiter']
+ 'RequestBodySizeLimiter',
+ 'SSLMiddleware']
from oslo_middleware.catch_errors import CatchErrors
from oslo_middleware.correlation_id import CorrelationId
@@ -25,3 +26,4 @@ from oslo_middleware.debug import Debug
from oslo_middleware.healthcheck import Healthcheck
from oslo_middleware.request_id import RequestId
from oslo_middleware.sizelimit import RequestBodySizeLimiter
+from oslo_middleware.ssl import SSLMiddleware