summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-httpclient/luasrc/httpclient.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-04-18 16:11:42 +0200
committerJo-Philipp Wich <jo@mein.io>2018-04-18 16:21:27 +0200
commiteb4571c6dc7e9f99133de1d7df23024ba6d31d9e (patch)
tree105b7a817dd99fc6a520006668e5cae5377070fd /libs/luci-lib-httpclient/luasrc/httpclient.lua
parent8f66de12c190952e23e6d7c41a52b2868c203beb (diff)
luci-base: fold luci.http.protocol into luci.http
With only the decoder routines remaining in luci.http.protocol, it makes no sense to keep the low level protocol class around, so fold the remaining code into the central luci.http class. Also adjust the few direct users of luci.http.protocol accordingly. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'libs/luci-lib-httpclient/luasrc/httpclient.lua')
-rw-r--r--libs/luci-lib-httpclient/luasrc/httpclient.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/luci-lib-httpclient/luasrc/httpclient.lua b/libs/luci-lib-httpclient/luasrc/httpclient.lua
index c76cc542ed..04175b3647 100644
--- a/libs/luci-lib-httpclient/luasrc/httpclient.lua
+++ b/libs/luci-lib-httpclient/luasrc/httpclient.lua
@@ -7,7 +7,7 @@ local nixio = require "nixio"
local ltn12 = require "luci.ltn12"
local util = require "luci.util"
local table = require "table"
-local http = require "luci.http.protocol"
+local http = require "luci.http"
local date = require "luci.http.protocol.date"
local type, pairs, ipairs, tonumber = type, pairs, ipairs, tonumber