-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update WWW spec version due to 6f62c16
- Loading branch information
1 parent
6f62c16
commit 3f0147d
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
HTTP & WebSocket ASGI Message Format | ||
==================================== | ||
|
||
**Version**: 2.3 (2021-02-02) | ||
**Version**: 2.4 (2024-01-16) | ||
|
||
The HTTP+WebSocket ASGI sub-specification outlines how to transport HTTP/1.1, | ||
HTTP/2 and WebSocket connections within ASGI. | ||
|
@@ -15,12 +15,13 @@ are able to be handled by WSGI. | |
Spec Versions | ||
------------- | ||
|
||
This spec has had three versions: | ||
This spec has had the following versions: | ||
|
||
* ``2.0``: The first version of the spec, released with ASGI 2.0 | ||
* ``2.1``: Added the ``headers`` key to the WebSocket Accept response | ||
* ``2.2``: Allow ``None`` in the second item of ``server`` scope value. | ||
* ``2.3``: Added the ``reason`` key to the WebSocket close event. | ||
* ``2.4``: Calling ``send()`` on a closed WebSocket connection should raise an error | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Kludex
Contributor
|
||
|
||
Spec versions let you understand what the server you are using understands. If | ||
a server tells you it only supports version ``2.0`` of this spec, then | ||
|
Hold on @andrewgodwin 👀
Was your intention only to raise on WebSocket? Because the PR that was merged (#431), actually doesn't specify for WebSocket.