mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-14 02:25:02 +08:00
Fix type in 'ClientCertRequestHander'
This commit is contained in:
2
rida.py
2
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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user