aboutsummaryrefslogtreecommitdiffstats
path: root/net/http.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-05-04 19:57:05 +0100
committerMatthew Wild <mwild1@gmail.com>2009-05-04 19:57:05 +0100
commit2fff09895975e5b2fb3d0aee38c2f652c6029e15 (patch)
treef0e16c01357473480d90a6d4726094fbb3aa30ec /net/http.lua
parent9817a326507ae8127365578adfac7a9074fe48c1 (diff)
parentef5e994b1f4303d7940194fc980f5b5e94654c76 (diff)
downloadprosody-2fff09895975e5b2fb3d0aee38c2f652c6029e15.tar.gz
prosody-2fff09895975e5b2fb3d0aee38c2f652c6029e15.zip
Merge with 0.4
Diffstat (limited to 'net/http.lua')
-rw-r--r--net/http.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/http.lua b/net/http.lua
index 24828ffe..b39cc6fb 100644
--- a/net/http.lua
+++ b/net/http.lua
@@ -15,7 +15,6 @@ local tonumber, tostring, pairs, xpcall, select, debug_traceback, char =
local log = require "util.logger".init("http");
local print = function () end
-local urlcodes = setmetatable({}, { __index = function (t, k) t[k] = char(tonumber("0x"..k)); return t[k]; end });
local urlencode = function (s) return s and (s:gsub("%W", function (c) return string.format("%%%02x", c:byte()); end)); end
module "http"