From eb4571c6dc7e9f99133de1d7df23024ba6d31d9e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 18 Apr 2018 16:11:42 +0200 Subject: 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 --- libs/luci-lib-httpclient/luasrc/httpclient.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/luci-lib-httpclient/luasrc/httpclient.lua') diff --git a/libs/luci-lib-httpclient/luasrc/httpclient.lua b/libs/luci-lib-httpclient/luasrc/httpclient.lua index c76cc542e..04175b364 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 -- cgit v1.2.3