Remove RequestBodySizeLimiter from middleware

The RequestBodySizeLimiter was deprecated in Kilo and should be
removed in Mitaka.

implements bp removed-as-of-mitaka

Change-Id: I34596a02fa936bb455a12177d8959c113e777b17
This commit is contained in:
Steve Martinelli 2015-11-24 17:54:14 -05:00
parent 2feb7be843
commit d1d7a3a1d4
1 changed files with 0 additions and 12 deletions

View File

@ -14,8 +14,6 @@
from oslo_config import cfg
from oslo_log import log
from oslo_log import versionutils
from oslo_middleware import sizelimit
from oslo_serialization import jsonutils
from keystone.common import wsgi
@ -151,13 +149,3 @@ class NormalizingFilter(wsgi.Middleware):
# Rewrites path to root if no path is given.
elif not request.environ['PATH_INFO']:
request.environ['PATH_INFO'] = '/'
class RequestBodySizeLimiter(sizelimit.RequestBodySizeLimiter):
@versionutils.deprecated(
versionutils.deprecated.KILO,
in_favor_of='oslo_middleware.sizelimit.RequestBodySizeLimiter',
remove_in=+1,
what='keystone.middleware.RequestBodySizeLimiter')
def __init__(self, *args, **kwargs):
super(RequestBodySizeLimiter, self).__init__(*args, **kwargs)