diff options
author | gordon chung <gord@live.ca> | 2014-08-21 17:18:33 -0400 |
---|---|---|
committer | gordon chung <gord@live.ca> | 2014-08-21 17:18:33 -0400 |
commit | 91943462d7e3e34b2472bc34b6531542ce3b6315 (patch) | |
tree | 0abb9e1640d80eef2a3082f641890cb5a4cf1b2a /oslo | |
parent | 717acd59647e068318b1f374ef803c7fa6498623 (diff) | |
download | oslo-middleware-91943462d7e3e34b2472bc34b6531542ce3b6315.tar.gz |
expose middleware through oslo.middleware
allow middleware to be called through oslo.middleware rather than
through module.
Change-Id: Iee535002a3bed221f85e97fb10528fbb9234dcb1
Diffstat (limited to 'oslo')
-rw-r--r-- | oslo/middleware/__init__.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/oslo/middleware/__init__.py b/oslo/middleware/__init__.py index e69de29..5289943 100644 --- a/oslo/middleware/__init__.py +++ b/oslo/middleware/__init__.py @@ -0,0 +1,23 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +__all__ = ['CatchErrors', + 'CorrelationId', + 'Debug', + 'RequestId', + 'RequestBodySizeLimiter'] + +from oslo.middleware.catch_errors import CatchErrors +from oslo.middleware.correlation_id import CorrelationId +from oslo.middleware.debug import Debug +from oslo.middleware.request_id import RequestId +from oslo.middleware.sizelimit import RequestBodySizeLimiter |