https://github.com/natthasath/demo-python-http3
HTTP/3 is a modern protocol that employs the QUIC transport layer to facilitate faster, more secure, and reliable web communication. It enhances web performance by reducing latency and eliminating head-of-line blocking.
https://github.com/natthasath/demo-python-http3
http3 poetry python quic
Last synced: 6 months ago
JSON representation
HTTP/3 is a modern protocol that employs the QUIC transport layer to facilitate faster, more secure, and reliable web communication. It enhances web performance by reducing latency and eliminating head-of-line blocking.
- Host: GitHub
- URL: https://github.com/natthasath/demo-python-http3
- Owner: natthasath
- License: mit
- Created: 2023-03-29T02:47:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-20T02:39:27.000Z (over 2 years ago)
- Last Synced: 2025-02-26T10:45:12.948Z (11 months ago)
- Topics: http3, poetry, python, quic
- Language: Python
- Homepage: https://github.com/aiortc/aioquic
- Size: 86.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# demo-python-http3
HTTP/3 is a modern protocol that employs the QUIC transport layer to facilitate faster, more secure, and reliable web communication. It enhances web performance by reducing latency and eliminating head-of-line blocking.
### 🚀 Setup
```shell
pip install -e .
pip install asgiref dnslib "flask<2.2" httpbin starlette "werkzeug<2.1" wsproto
```
### 🏆 Run
___
- _shell 1_ - `Start Server`
```shell
python examples/http3_server.py --certificate tests/ssl_cert.pem --private-key tests/ssl_key.pem
```
- _shell 2_ - `Start Client`
```shell
python examples/http3_client.py --ca-certs tests/pycacert.pem https://localhost:4433/
```