* Fixed last commit
This commit is contained in:
parent
bfbd74c6ae
commit
b28bf0f394
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ end
|
||||||
-- Handler Response
|
-- Handler Response
|
||||||
Response = luci.util.class()
|
Response = luci.util.class()
|
||||||
|
|
||||||
function Response.__init__(self, request, status, headers)
|
function Response.__init__(self, status, headers)
|
||||||
self.status = tonumber(status) or 200
|
self.status = tonumber(status) or 200
|
||||||
self.headers = (type(headers) == "table") and headers or {}
|
self.headers = (type(headers) == "table") and headers or {}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue