aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-01-01 19:35:06 +0100
committerKim Alvefur <zash@zash.se>2017-01-01 19:35:06 +0100
commit3febd96982d61cfd91ea5088fb3269eb092acc04 (patch)
tree19c3382d3adb222db99ead928209f44f522460bb /net
parent4cdac4facbd5f8445ad3b6aaae8a7ac032c970d0 (diff)
parentddb503576fa4e20e454fa07c351c10e62fbb997c (diff)
downloadprosody-3febd96982d61cfd91ea5088fb3269eb092acc04.tar.gz
prosody-3febd96982d61cfd91ea5088fb3269eb092acc04.zip
Merge 0.10->trunk
Diffstat (limited to 'net')
-rw-r--r--net/http.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/http.lua b/net/http.lua
index 5c1f2058..dcf94bdd 100644
--- a/net/http.lua
+++ b/net/http.lua
@@ -17,9 +17,9 @@ local server = require "net.server"
local t_insert, t_concat = table.insert, table.concat;
local pairs = pairs;
-local tonumber, tostring, xpcall, select, traceback =
- tonumber, tostring, xpcall, select, debug.traceback;
-local assert, error = assert, error
+local tonumber, tostring, xpcall, traceback =
+ tonumber, tostring, xpcall, debug.traceback;
+local error = error
local log = require "util.logger".init("http");
@@ -209,7 +209,7 @@ end
return {
request = request;
-
+
-- COMPAT
urlencode = util_http.urlencode;
urldecode = util_http.urldecode;