-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
raise exception to close connection without response (aka nginx 444) #3495
Comments
This comment has been minimized.
This comment has been minimized.
According to https://habr.com/post/415565/ this causes modern browsers to to a ton of RETRIES. So I'm not sure whether it's very useful nowadays. wrt naming I'd probably go for |
Today you can just raise |
Agree with both of you.
|
Feature request
(or perhaps this already possible, but I can't find where it's documented?)
Would be useful occasionally to be able to close a connection without a response, roughly equivalent to nginx's 444 pseudo response.
I guess best implemented as another exception similar to
HTTPInternalServerError
except closing the connection instead of return500
.eg.
ServerCloseConnection
.Is this possible cleanly and if so would it be useful?
The text was updated successfully, but these errors were encountered: