Sign in
apache
/
nifi-minifi-cpp
/
18f2a7b59bd0845d97d1432f8f4f7b24b27edf05
/
.
/
thirdparty
/
civetweb-1.10
/
test
/
error.lua
blob: b78d4ac9fb6e0cfe6dacd47fb37ed61720985a46 [
file
] [
log
] [
blame
]
mg
.
write
(
"HTTP/1.0 200 OK\r\n"
)
mg
.
write
(
"Content-Type: text/html\r\n"
)
mg
.
write
(
"\r\n"
)
mg
.
write
([[<
html
><
body
>
<
p
>
Lua error handler
:</
p
>
<
p
>
Status code
:
]])
mg
.
write
(
tostring
(
mg
.
request_info
.
status
))
mg
.
write
([[</
p
>
</
body
></
html
>
]])