diff --git a/libs/httpd/luasrc/httpd/module.lua b/libs/httpd/luasrc/httpd/module.lua index ba745bde32..f1fb687637 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