From 33851c2f76cb2cd10ba371a1008ecf993fd9193e Mon Sep 17 00:00:00 2001 From: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Date: Fri, 9 Sep 2022 15:22:29 -0500 Subject: [PATCH] Reworded contract for http.disconnect Closes #334 --- specs/www.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specs/www.rst b/specs/www.rst index eefa0d36..0ccadb1c 100644 --- a/specs/www.rst +++ b/specs/www.rst @@ -212,9 +212,9 @@ Keys: Disconnect - ``receive`` event '''''''''''''''''''''''''''''' -Sent to the application when a HTTP connection is closed or if ``receive`` -is called after a response has been sent. This is mainly useful for -long-polling, where you may want to trigger cleanup code if the +Sent to the application if receive is called after a response has been +sent or after the HTTP connection has been closed. This is mainly useful +for long-polling, where you may want to trigger cleanup code if the connection closes early. Keys: