Skip to content

djstein/django-http3-example

Repository files navigation

django-http3-example

Run the server:

poetry install
poetry shell
hypercorn --quic-bind localhost:8000 server.asgi:application --keyfile certs/ssl_key.pem --ca-cert certs/pycacerts.pem --certfile certs/ssl_cert.pem

in another terminal run a client: The basic one:

python client.py --ca-certs certs/pycacerts.pem https://127.0.0.1:8000/

Or the httpx one:

python httpx_client.py --ca-certs certs/pycacerts.pem https://127.0.0.1:8000/

Clients taken from https://github.com/aiortc/aioquic and added logging of response data

About

Example Repo of Django using HTTP/3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published