Improve the httpd(8) printenv.lua Lua example
Stop using Lua builtin print function and replace them with http.* ones. httpd.print and http.write wraps SSL support when needed.
Print http headers,
Improve the httpd(8) printenv.lua Lua example
Stop using Lua builtin print function and replace them with http.* ones. httpd.print and http.write wraps SSL support when needed.
Print http headers, without them browser may interpret page as raw text.
No need to hardcode prefix path in the form.
Add comments for a user with tips how to use this script.
Patch by Travis Paul
Closes PR misc/50502
show more ...
|