projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Fixed last commit
[project/luci.git]
/
libs
/
httpd
/
luasrc
/
httpd
/
module.lua
diff --git
a/libs/httpd/luasrc/httpd/module.lua
b/libs/httpd/luasrc/httpd/module.lua
index ba745bde327bd69cd00af828121ae2b57e345cef..f1fb687637d15b87c07e7e449a8bb6ac99c0ab47 100644
(file)
--- 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()
-- 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
self.status = tonumber(status) or 200
self.headers = (type(headers) == "table") and headers or {}
end