Fix type in 'ClientCertRequestHander'

This commit is contained in:
Jan Kaluza
2016-07-07 15:20:09 +02:00
parent dd71a5a496
commit fbfdf1a561
2 changed files with 2 additions and 2 deletions

View File

@@ -139,4 +139,4 @@ if __name__ == "__main__":
ssl_ctx.verify_mode = ssl.CERT_OPTIONAL
ssl_ctx.load_verify_locations(cafile=conf.ssl_ca_certificate_file)
app.run(request_handler=auth.ClientCertRequestHander, ssl_context=ssl_ctx)
app.run(request_handler=auth.ClientCertRequestHandler, ssl_context=ssl_ctx)

View File

@@ -28,7 +28,7 @@ from werkzeug.serving import WSGIRequestHandler
import requests
import json
class ClientCertRequestHander(WSGIRequestHandler):
class ClientCertRequestHandler(WSGIRequestHandler):
"""
WSGIRequestHandler subclass adding SSL_CLIENT_CERT_* variables
to `request.environ` dict when the client certificate is set and