Miscellany
public text v1 · immutableif (check_path(lighty.env["physical.path"])) then
attr = lighty.stat(lighty.env["physical.path"])
lighty.content = {{ filename = lighty.env["physical.path"] }}
lighty.header["Content-Type"] = attr["content-type"]
return 200
end