Commit Graph

2 Commits (90f38a66942426066dfc870172fe33b5f5ea0e11)

Author SHA1 Message Date
Jianhui Zhao 52f6309844 Lua template: Add the headers variable
Example:

<%for k, v in pairs(_UHTTP["HEADERS"]) do%>
<h1><%=k%>: <%=v%></h1>
<%end%>

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-05 23:01:44 +08:00
Jianhui Zhao d38f1d1f4b Add test file for Lua template
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-05 16:53:19 +08:00