summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/root
diff options
context:
space:
mode:
Diffstat (limited to 'libs/sgi-webuci/root')
-rw-r--r--libs/sgi-webuci/root/usr/lib/boa/luci.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/sgi-webuci/root/usr/lib/boa/luci.lua b/libs/sgi-webuci/root/usr/lib/boa/luci.lua
index 6cb019d16a..2bb9313a66 100644
--- a/libs/sgi-webuci/root/usr/lib/boa/luci.lua
+++ b/libs/sgi-webuci/root/usr/lib/boa/luci.lua
@@ -59,6 +59,7 @@ function handle_req(context)
env.REMOTE_PORT = context.remote_port
env.SERVER_ADDR = context.server_addr
env.HTTP_COOKIE = context.cookie
+ env.HTTP_ACCEPT = context.http_accept
env.SCRIPT_NAME = env.REQUEST_URI:sub(1, #env.REQUEST_URI - #env.PATH_INFO)
luci.sgi.webuci.run(env, vars)