Re:Granian – a Rust HTTP server for Python applications
by Alifatisk on Monday January 16, 2023 @06:43AM
(#34399661)
Any plans on implementing H3?
[ Parent
| on HN ]
Re:Granian – a Rust HTTP server for Python applications
by _joel on Monday January 16, 2023 @06:59AM
(#34399756)
From github
> Have a single, correct HTTP implementation, supporting versions 1, 2 (and eventually 3)
Re:Granian – a Rust HTTP server for Python applications
by nethunters on Monday January 16, 2023 @09:38AM
(#34401054)
Looking at the code it relies on Hyper which doesn't support H3 yet
Re:Granian – a Rust HTTP server for Python applications
by djstein on Monday January 16, 2023 @01:35PM
(#34403915)
for those wishing to use http3 with a Python web framework, the ASGI hypercorn[1] currently supports it.
made a Django example last week with a sample client based on the examples from aioquic[2]: https://github.com/djstein/django-http3-example
this example also includes the first pass at async Django REST Framework using adrf[3] based on these GitHub issues:
- https://github.com/encode/django-rest-framework/pull/8617
- https://github.com/encode/django-rest-framework/issues/8496
sources
[1]: https://github.com/pgjones/hypercorn