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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for uvicorn36c-0.16.36-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ef364b2597e752f213b0504f602eb1ceb2b71afb1d892620337eba1521e74d1 |
|
MD5 | 0e542023e0ffa771fb10e849761c1212 |
|
BLAKE2b-256 | f20b83371ba010588115eca58e454ea938222000a718147c6b0e8cfec8207e53 |