[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/50502 CVS commit: src/libexec/httpd
The following reply was made to PR misc/50502; it has been noted by GNATS.
From: "Kamil Rytarowski" <kamil%netbsd.org@localhost>
Subject: PR/50502 CVS commit: src/libexec/httpd
Date: Mon, 7 Dec 2015 03:11:48 +0000
Module Name: src
Committed By: kamil
Date: Mon Dec 7 03:11:48 UTC 2015
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
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/libexec/httpd/printenv.lua
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |