diff --git a/http/node_info.lua~ b/http/node_info.lua~ deleted file mode 100644 index 8f9d615..0000000 --- a/http/node_info.lua~ +++ /dev/null @@ -1,29 +0,0 @@ -local function sendHeader(connection) - connection:send("HTTP/1.0 200 OK\r\nContent-Type: text/html\r\nCache-Control: private, no-store\r\n\r\n") - -end - -local function sendAttr(connection, attr, val) - if val then - connection:send("
  • ".. attr .. ": " .. val .. "
  • \n") - end -end - -return function (connection, req, args) - collectgarbage() - sendHeader(connection) - connection:send('A Lua script sample

    Node info

    ') -end