The heat.api.middleware.ssl Module

class heat.api.middleware.ssl.SSLMiddleware(application)[source]

Bases: heat.common.wsgi.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.

process_request(req)[source]
heat.api.middleware.ssl.list_opts()[source]

Previous topic

The heat.api.middleware.fault Module

Next topic

The heat.api.middleware.version_negotiation Module

Project Source

This Page