[Feature Request] to close the response output stream early: "response:eof()" #5
-
In nginx-lua/openresty, I can close the http response early (avoid my users waiting) and continue doing things that cost time on my server:
Does the Mako web server have such an API? for example: response:eof() |
Beta Was this translation helpful? Give feedback.
Answered by
surfskidude
Sep 19, 2022
Replies: 2 comments
-
Although there's another async method:
Mako seb server is very slim and strong. |
Beta Was this translation helpful? Give feedback.
0 replies
-
In mako, you would do the following to end the response (you defer the execution of the http client):
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
surfskidude
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In mako, you would do the following to end the response (you defer the execution of the http client):