diff options
| author | Doug Hellmann <doug.hellmann@dreamhost.com> | 2013-05-29 19:49:29 -0400 |
|---|---|---|
| committer | Doug Hellmann <doug.hellmann@dreamhost.com> | 2013-06-07 12:42:52 -0400 |
| commit | 39c17cb13e005894c66daadc7317ff3d57fe2fd7 (patch) | |
| tree | d34e4a1fabe9e69983554b1b2655a045e1d2ea22 /openstack/common/middleware/context.py | |
| parent | 106376d59f9a25fef94baf413316b22c7d4218d2 (diff) | |
| download | oslo-39c17cb13e005894c66daadc7317ff3d57fe2fd7.tar.gz oslo-39c17cb13e005894c66daadc7317ff3d57fe2fd7.tar.xz oslo-39c17cb13e005894c66daadc7317ff3d57fe2fd7.zip | |
Move wsgi module to deprecated package
As we are planning to deprecate the wsgi module, move it
out of the main openstack/common folder to the new
"deprecated" folder.
Move some of the middleware classes into the middleware
package, since those are still useful and should be
maintained.
There's still work to do to remove the dependency of the
size limit middleware on the Request class in the now
deprecated wsgi module.
Refer to the mailing list thread at
http://lists.openstack.org/pipermail/openstack-dev/2013-May/009666.html
for additional details.
Change-Id: I05ff583ef37174835393905a3066390f400ffdcf
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Diffstat (limited to 'openstack/common/middleware/context.py')
| -rw-r--r-- | openstack/common/middleware/context.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstack/common/middleware/context.py b/openstack/common/middleware/context.py index ac94190..2636e8e 100644 --- a/openstack/common/middleware/context.py +++ b/openstack/common/middleware/context.py @@ -21,10 +21,10 @@ Middleware that attaches a context to the WSGI request from openstack.common import context from openstack.common import importutils -from openstack.common import wsgi +from openstack.common.middleware import base -class ContextMiddleware(wsgi.Middleware): +class ContextMiddleware(base.Middleware): def __init__(self, app, options): self.options = options super(ContextMiddleware, self).__init__(app) |
