diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-04-18 16:11:42 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-04-18 16:21:27 +0200 |
commit | eb4571c6dc7e9f99133de1d7df23024ba6d31d9e (patch) | |
tree | 105b7a817dd99fc6a520006668e5cae5377070fd /libs | |
parent | 8f66de12c190952e23e6d7c41a52b2868c203beb (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')
-rw-r--r-- | libs/luci-lib-httpclient/luasrc/httpclient.lua | 2 |
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 |