refactor: header flushing
All checks were successful
Autotools pipeline / build-amd64 (push) Successful in 18s
Autotools pipeline / build-arm64 (push) Successful in 20s
Autotools pipeline / build-arm (push) Successful in 19s

This commit is contained in:
2026-04-09 22:03:08 +02:00
parent 2a554e2b4b
commit b92f89f14f
5 changed files with 9 additions and 9 deletions

View File

@@ -95,6 +95,9 @@ function std.header(k, v)
end
function std.header_flush()
if RESPONSE_HEADER.sent == true then
return
end
-- send out status
echo("Status: ", RESPONSE_HEADER.status, " ", http_status[RESPONSE_HEADER.status], "\r\n")
-- send out header