Skip to content

Commit

Permalink
Fix allowed values for spec_version on WebSocket and HTTP Connectio…
Browse files Browse the repository at this point in the history
…n scopes (#312)
  • Loading branch information
Kludex authored Jan 24, 2022
1 parent 8b61513 commit 3554e05
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions specs/www.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ The *connection scope* information passed in ``scope`` contains:
* ``asgi["version"]`` (*Unicode string*) -- Version of the ASGI spec.

* ``asgi["spec_version"]`` (*Unicode string*) -- Version of the ASGI
HTTP spec this server understands; one of ``"2.0"`` or
``"2.1"``. Optional; if missing assume ``2.0``.
HTTP spec this server understands; one of ``"2.0"``, ``"2.1"``, ``"2.2"`` or
``"2.3"``. Optional; if missing assume ``2.0``.

* ``http_version`` (*Unicode string*) -- One of ``"1.0"``, ``"1.1"`` or ``"2"``.

Expand Down Expand Up @@ -253,8 +253,8 @@ metadata (mostly from the HTTP request line and headers):
* ``asgi["version"]`` (*Unicode string*) -- The version of the ASGI spec.

* ``asgi["spec_version"]`` (*Unicode string*) -- Version of the ASGI
HTTP spec this server understands; one of ``"2.0"`` or
``"2.1"``. Optional; if missing assume ``"2.0"``.
HTTP spec this server understands; one of ``"2.0"``, ``"2.1"``, ``"2.2"`` or
``"2.3"``. Optional; if missing assume ``"2.0"``.

* ``http_version`` (*Unicode string*) -- One of ``"1.1"`` or
``"2"``. Optional; if missing default is ``"1.1"``.
Expand Down

0 comments on commit 3554e05

Please sign in to comment.