From 961bfcf77f6bf114e721a418220c2d6a3ef1379c Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 15 Jun 2008 12:34:16 +0000 Subject: * Generalized HTTP-API --- libs/sgi-webuci/luasrc/sgi/webuci.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/sgi-webuci/luasrc/sgi/webuci.lua') diff --git a/libs/sgi-webuci/luasrc/sgi/webuci.lua b/libs/sgi-webuci/luasrc/sgi/webuci.lua index abe279d051..8801cf4475 100644 --- a/libs/sgi-webuci/luasrc/sgi/webuci.lua +++ b/libs/sgi-webuci/luasrc/sgi/webuci.lua @@ -29,9 +29,9 @@ require("luci.util") require("luci.dispatcher") function run(env, vars) - local r = luci.http.Request() - r.env = env - r.request = vars + local r = luci.http.Request(env, nil, io.stderr) + r.get = vars + r.post = r.get local x = coroutine.create(luci.dispatcher.httpdispatch) -- cgit v1.2.3