Functions _M.send_404() and _M.send_500() are returning status which is meant to be HTTP Status Code. In turn _M.run() returning result of _M.send_404() or _M.send_500() which also has meaning of HTTP Status Code. In common loops like cgi.lua and fastcgi.lua these returnings are not used, but if they would consistency would be violated.
Functions
_M.send_404()
and_M.send_500()
are returningstatus
which is meant to be HTTP Status Code. In turn_M.run()
returning result of_M.send_404()
or_M.send_500()
which also has meaning of HTTP Status Code. In common loops like cgi.lua and fastcgi.lua these returnings are not used, but if they would consistency would be violated.