OpenStack middleware library
Go to file
Juan Antonio Osorio Robles f62c3a74c0 Disable http_proxy_to_wsgi middleware by default
Having this middleware as default is very convenient for deployments,
since this enables the application to handle the appropriate headers
correctly in order to deal with SSL, which is nice to have out of the
box. Heat, for instance, has already taken this middleware as default.

However, having this act on the headers by default may not be so
desirable, as the application may not be in front of a proxy, and thus
will have nothing that parses or strips the X-Forwarded-* headers.
Which can lead to security problems.

Thus, this patch proposes the enabling of this functionality through a
configuration option. This will enable more projects to take this
middleware into use by default, and the deployer would only need to
change one configuration file; while leaving the paste configuration
intact.

Change-Id: I50a70d477613025d3e54e4ee773bbb1d6fcf2e68
SecurityImpact
2016-03-07 12:47:34 +02:00
doc/source work around doc build error 2016-02-24 12:11:39 -05:00
oslo [fix-compat] More definitions for oslo.middleware 2015-12-12 19:18:33 +00:00
oslo_middleware Disable http_proxy_to_wsgi middleware by default 2016-03-07 12:47:34 +02:00
.coveragerc Fix coverage configuration and execution 2015-10-05 17:23:48 -04:00
.gitignore work around doc build error 2016-02-24 12:11:39 -05:00
.gitreview exported from oslo-incubator by graduate.sh 2014-06-24 16:49:39 -04:00
.mailmap exported from oslo-incubator by graduate.sh 2014-06-24 16:49:39 -04:00
.testr.conf initial oslo.middleware checkin 2014-06-24 18:14:05 -04:00
CONTRIBUTING.rst Fix the url in the CONTRIBUTING.rst 2015-12-28 16:52:36 +08:00
HACKING.rst Fixed syntax of the HACKING.rst file 2014-07-22 15:59:09 +02:00
LICENSE exported from oslo-incubator by graduate.sh 2014-06-24 16:49:39 -04:00
README.rst Add shields.io version/downloads links/badges into README.rst 2015-09-24 12:51:44 -07:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-06-24 16:49:39 -04:00
requirements.txt Updated from global requirements 2016-02-26 01:52:28 +00:00
setup.cfg Update translation setup 2016-01-29 10:39:12 +00:00
setup.py Updated from global requirements 2015-09-17 12:16:06 +00:00
test-requirements.txt Updated from global requirements 2016-01-16 03:31:18 +00:00
tox.ini Clean up removed hacking rule from [flake8] ignore lists 2016-02-24 00:36:12 +08:00

README.rst

oslo.middleware

Latest Version

Downloads

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.