From c358d3e26bf312208fc0096b9c4435cc84df18cf Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Sat, 20 Jul 2024 09:50:16 +0200 Subject: [PATCH] Replace `IOError` by `OSError` --- specs/www.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/www.rst b/specs/www.rst index ceebb3cc..6709659b 100644 --- a/specs/www.rst +++ b/specs/www.rst @@ -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). @@ -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).