Skip to content

Commit

Permalink
Reword contract for http.disconnect
Browse files Browse the repository at this point in the history
Closes django#334
  • Loading branch information
adriangb committed Sep 9, 2022
1 parent 85d87d5 commit 0ab98d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specs/www.rst
Expand Up @@ -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:
Expand Down

0 comments on commit 0ab98d8

Please sign in to comment.