summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/luasrc/sgi/webuci.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-15 12:34:16 +0000
committerSteven Barth <steven@midlink.org>2008-06-15 12:34:16 +0000
commit961bfcf77f6bf114e721a418220c2d6a3ef1379c (patch)
tree10d8143b4c106dfcade5ee480ce75c184cdd4b79 /libs/sgi-webuci/luasrc/sgi/webuci.lua
parent8b0524cd919cec9deba8b8f63033823fa744f1e6 (diff)
* Generalized HTTP-API
Diffstat (limited to 'libs/sgi-webuci/luasrc/sgi/webuci.lua')
-rw-r--r--libs/sgi-webuci/luasrc/sgi/webuci.lua6
1 files changed, 3 insertions, 3 deletions
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)