Skip to content

Commit

Permalink
Replace IOError by OSError (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex authored Jul 20, 2024
1 parent f86642b commit 29c4d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specs/www.rst
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Disconnected Client - ``send`` exception
''''''''''''''''''''''''''''''''''''''''

If ``send()`` is called on a closed connection the server should raise
a server-specific subclass of ``IOError``. This is not guaranteed, however,
a server-specific subclass of ``OSError``. This is not guaranteed, however,
especially on older ASGI server implementations (it was introduced in spec
version 2.4).

Expand Down Expand Up @@ -467,7 +467,7 @@ Disconnected Client - ``send`` exception
''''''''''''''''''''''''''''''''''''''''

If ``send()`` is called on a closed connection the server should raise
a server-specific subclass of ``IOError``. This is not guaranteed, however,
a server-specific subclass of ``OSError``. This is not guaranteed, however,
especially on older ASGI server implementations (it was introduced in spec
version 2.4).

Expand Down

0 comments on commit 29c4d92

Please sign in to comment.