89b11a1c731bea4c74498c46a5e4272eef55f2f6
This middleware is supposed to be placed in front of any WSGI application. It will translate the WSGI environment to an environment mimicking the environment of the reverse proxy placed in front of it. It supports translating: - Protocol via X-Forwarded-Proto - Host via X-Forwarded-Host - Prefix via X-Forwarded-Prefix (not standard, but already used in other projects) - Forwarded header (RFC7239) Change-Id: I9e66e17a343fc454016415375bcd5a1285334f5a
oslo.middleware
Oslo middleware library includes components that can be injected into wsgi pipelines to intercept request/response flows. The base class can be enhanced with functionality like add/delete/modification of http headers and support for limiting size/connection etc.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/oslo.middleware
- Source: http://git.openstack.org/cgit/openstack/oslo.middleware
- Bugs: http://bugs.launchpad.net/oslo.middleware
Description