luvit / luvit

Lua + libUV + jIT = pure awesomesauce

Home Page:https://luvit.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why luvit not sending response to client for empty string

syarul opened this issue · 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")