diff options
author | Kim Alvefur <zash@zash.se> | 2017-01-01 19:35:06 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-01-01 19:35:06 +0100 |
commit | 3febd96982d61cfd91ea5088fb3269eb092acc04 (patch) | |
tree | 19c3382d3adb222db99ead928209f44f522460bb /net/http.lua | |
parent | 4cdac4facbd5f8445ad3b6aaae8a7ac032c970d0 (diff) | |
parent | ddb503576fa4e20e454fa07c351c10e62fbb997c (diff) | |
download | prosody-3febd96982d61cfd91ea5088fb3269eb092acc04.tar.gz prosody-3febd96982d61cfd91ea5088fb3269eb092acc04.zip |
Merge 0.10->trunk
Diffstat (limited to 'net/http.lua')
-rw-r--r-- | net/http.lua | 8 |
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; |