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 details)
Built Distribution
File details
Details for the file uvicorn36c-0.16.36.tar.gz
.
File metadata
- Download URL: uvicorn36c-0.16.36.tar.gz
- Upload date:
- Size: 39.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22d9481c46e632368a60c75b5116f5e01c054df835e5e7363e72b09b227ae9ed |
|
MD5 | 6be8cee37d9c6bfec18fdee17554049c |
|
BLAKE2b-256 | f96aa0eab6226b03abe5627f79a9de493a2de53f6afe034d74398b3589d0562d |
File details
Details for the file uvicorn36c-0.16.36-py3-none-any.whl
.
File metadata
- Download URL: uvicorn36c-0.16.36-py3-none-any.whl
- Upload date:
- Size: 55.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ef364b2597e752f213b0504f602eb1ceb2b71afb1d892620337eba1521e74d1 |
|
MD5 | 0e542023e0ffa771fb10e849761c1212 |
|
BLAKE2b-256 | f20b83371ba010588115eca58e454ea938222000a718147c6b0e8cfec8207e53 |