summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorkamil <kamil@NetBSD.org>2015-12-07 03:11:48 +0000
committerkamil <kamil@NetBSD.org>2015-12-07 03:11:48 +0000
commita30736a20f4afa2515329a601f5bbf2924497c11 (patch)
treec8d5683ab3c4d1a6255c80244e73e761099bb59f /sys/dev
parent7b0801ed0b97ee8809efdeb3ef1139f064dbba8c (diff)
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
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions