luvit/luvit

Why luvit not sending response to client for empty string

Closed this issue · 1 comments

res:finish("")

this break in HTMX/_hyperscript since the response is needed to handle htmx:afterRequest or /fetch event handler, is this intentional or is there workaround.

ok, solve it by sending line break instead
res:finish("\n")