projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
luci-0.11: backport r10529
[project/luci.git]
/
libs
/
web
/
luasrc
/
http.lua
diff --git
a/libs/web/luasrc/http.lua
b/libs/web/luasrc/http.lua
index
c53307a
..
e8430b7
100644
(file)
--- a/
libs/web/luasrc/http.lua
+++ b/
libs/web/luasrc/http.lua
@@
-42,8
+42,8
@@
function Request.__init__(self, env, sourcein, sinkerr)
self.error = sinkerr
- -- File handler
- self.filehandler =
function() end
+ -- File handler
nil by default to let .content() work
+ self.filehandler =
nil
-- HTTP-Message table
self.message = {