Mercurial Hosting > luan
diff src/luan/modules/http/tools/java_threads.luan @ 1150:0842b9b570f8
change http headers interface
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 04 Feb 2018 18:03:37 -0700 |
parents | 4cddfc06a34f |
children | 5dbb552075ff |
line wrap: on
line diff
--- a/src/luan/modules/http/tools/java_threads.luan Sun Feb 04 17:23:20 2018 -0700 +++ b/src/luan/modules/http/tools/java_threads.luan Sun Feb 04 18:03:37 2018 -0700 @@ -23,7 +23,7 @@ <html> <body> <h1>Java Threads</h1> - <p><%=Http.request.header.host%> - <%=Time.format(Time.now())%></p> + <p><%=Http.request.headers["host"]%> - <%=Time.format(Time.now())%></p> <% local count = 0 for _, thread in Luan.ipairs(threads) do