diff --git a/oslo_middleware/ssl.py b/oslo_middleware/ssl.py index 8f0f01c..7853dc1 100644 --- a/oslo_middleware/ssl.py +++ b/oslo_middleware/ssl.py @@ -9,7 +9,7 @@ # 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. - +from debtcollector import removals from oslo_config import cfg from oslo_middleware import base @@ -17,12 +17,17 @@ from oslo_middleware import base OPTS = [ cfg.StrOpt('secure_proxy_ssl_header', default='X-Forwarded-Proto', + deprecated_for_removal=True, help="The HTTP Header that will be used to determine what " "the original request protocol scheme was, even if it was " "hidden by an SSL termination proxy.") ] +removals.removed_module(__name__, + "oslo_middleware.http_proxy_to_wsgi") + + class SSLMiddleware(base.ConfigurableMiddleware): """SSL termination proxies middleware. diff --git a/requirements.txt b/requirements.txt index 3107167..d2dba26 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,3 +13,4 @@ oslo.utils>=2.0.0 # Apache-2.0 six>=1.9.0 stevedore>=1.5.0 # Apache-2.0 WebOb>=1.2.3 +debtcollector>=0.3.0 # Apache-2.0