Hacker News new | ask | show | jobs
by djstein 1249 days ago
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

2 comments

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.
True. The "bad" thing about hypercorn is its poor performance, at least for now :/