projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac17ad8
)
luci-0.12: merge r10529
luci-0.12
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 18 Sep 2014 09:32:59 +0000
(09:32 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 18 Sep 2014 09:32:59 +0000
(09:32 +0000)
modules/base/luasrc/http.lua
patch
|
blob
|
history
diff --git
a/modules/base/luasrc/http.lua
b/modules/base/luasrc/http.lua
index c53307a5a1eb4e2b3d72fabc6f2e0379c833eabd..e8430b727650025f0343a8330a36562c829ab4e5 100644
(file)
--- a/
modules/base/luasrc/http.lua
+++ b/
modules/base/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 = {