ssl: deprecated in favor of http_proxy_to_wsgi

Change-Id: Ic2d3dcadbaaaa2819f2c84b23778a2e407a9b127
This commit is contained in:
Julien Danjou 2015-09-29 14:39:48 +02:00
parent 50755b1212
commit 67ec676980
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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