Skip to content

Commit 7969248

Browse files
committed
Support aioquic 1.x and update README.rst regarding HTTP/3
No code changes are required to use `aioquic` 1.x. As `aioquic` now uses semantic versioning, allow any version less than 2.0. This allows users to benefit from improvements and security fixes which have landed in the 1.x releases, see: https://aioquic.readthedocs.io/en/stable/changelog.html
1 parent 84d06b8 commit 7969248

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ Gunicorn. Hypercorn supports HTTP/1, HTTP/2, WebSockets (over HTTP/1
1616
and HTTP/2), ASGI, and WSGI specifications. Hypercorn can utilise
1717
asyncio, uvloop, or trio worker types.
1818

19-
Hypercorn can optionally serve the current draft of the HTTP/3
20-
specification using the `aioquic
19+
Hypercorn can optionally support HTTP/3 using the `aioquic
2120
<https://github.com/aiortc/aioquic/>`_ library. To enable this install
2221
the ``h3`` optional extra, ``pip install hypercorn[h3]`` and then
2322
choose a quic binding e.g. ``hypercorn --quic-bind localhost:4433

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ documentation = "https://hypercorn.readthedocs.io"
2727

2828
[tool.poetry.dependencies]
2929
python = ">=3.8"
30-
aioquic = { version = ">= 0.9.0, < 1.0", optional = true }
30+
aioquic = { version = ">= 0.9.0, < 2.0", optional = true }
3131
exceptiongroup = { version = ">= 1.1.0", python = "<3.11" }
3232
h11 = "*"
3333
h2 = ">=3.1.0"

0 commit comments

Comments
 (0)