News for hackers. Stuff that matters.
Re:Granian – a Rust HTTP server for Python applications by Alifatisk on Monday January 16, 2023 @06:43AM (#34399661)
Any plans on implementing H3?
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

https://github.com/hyperium/hyper/issues/1818

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

[2]: https://github.com/aiortc/aioquic

[2]: https://github.com/em1208/adrf

Re:Granian – a Rust HTTP server for Python applications by Alifatisk on Thursday January 19, 2023 @10:16AM (#34441171)
That’s so cool, I have been looking around for something similar but in Ruby. Couldn’t find anything, just a talk about the possibility of implementing it.