Skip to main content

A Python 3.6 mod of the lightning-fast ASGI server which passes client certificates to the app.

Project description

uvicorn-36c

A version of Uvicorn which works with Python 3.6 and passes client certificates in the request scope.

Notes

This version fixes the h11 HTTP implementation to pass the client certificate through to the app, together with other request details as part of the scope.

Make sure to use the H11 Worker. E.g., when using gunicorn:

gunicorn -k uvicorn.workers.UvicornH11Worker src.main:app --reload --certfile cert.pem --keyfile key.pem --cert-reqs 2 --ca-certs cert.pem --timeout 1200

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uvicorn36c-0.16.36.tar.gz (39.6 kB view hashes)

Uploaded Source

Built Distribution

uvicorn36c-0.16.36-py3-none-any.whl (55.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page