From fbfdf1a5615eafbed35a6f3c685ccfb0cff60e91 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Thu, 7 Jul 2016 15:20:09 +0200 Subject: [PATCH] Fix type in 'ClientCertRequestHander' --- rida.py | 2 +- rida/auth.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rida.py b/rida.py index 6d8c1100..00e79cde 100755 --- a/rida.py +++ b/rida.py @@ -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) diff --git a/rida/auth.py b/rida/auth.py index 33acfda3..99dd3699 100644 --- a/rida/auth.py +++ b/rida/auth.py @@ -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