* Fixed last commit

This commit is contained in:
Steven Barth 2008-06-21 16:24:52 +00:00
parent bfbd74c6ae
commit b28bf0f394

View file

@ -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