From a54159b39fc8828dd0db3205059e4562c8789624 Mon Sep 17 00:00:00 2001 From: Philip Gladstone Date: Sat, 28 Nov 2015 12:23:22 -0500 Subject: [PATCH] Remove unused file --- http/node_info.lua~ | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 http/node_info.lua~ 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