designate.api.middleware.
ContextMiddleware
(application, conf=None)[source]¶Bases: oslo_middleware.base.Middleware
designate.api.middleware.
FaultWrapperMiddleware
(application)[source]¶Bases: oslo_middleware.base.Middleware
designate.api.middleware.
MaintenanceMiddleware
(application)[source]¶Bases: oslo_middleware.base.Middleware
designate.api.middleware.
NormalizeURIMiddleware
(application, conf=None)[source]¶Bases: oslo_middleware.base.Middleware
designate.api.middleware.
SSLMiddleware
(application)[source]¶Bases: oslo_middleware.base.Middleware
A middleware that replaces the request wsgi.url_scheme environment variable with the value of HTTP header configured in secure_proxy_ssl_header if exists in the incoming request. This is useful if the server is behind a SSL termination proxy.
Code nabbed from Heat.
designate.api.middleware.
TestContextMiddleware
(application, tenant_id=None, user_id=None)[source]¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.