summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/httpd/luasrc/httpd/module.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/httpd/luasrc/httpd/module.lua b/libs/httpd/luasrc/httpd/module.lua
index ba745bde3..f1fb68763 100644
--- a/libs/httpd/luasrc/httpd/module.lua
+++ b/libs/httpd/luasrc/httpd/module.lua
@@ -119,7 +119,7 @@ end
-- Handler Response
Response = luci.util.class()
-function Response.__init__(self, request, status, headers)
+function Response.__init__(self, status, headers)
self.status = tonumber(status) or 200
self.headers = (type(headers) == "table") and headers or {}
end