diff options
Diffstat (limited to 'modules/base')
-rw-r--r-- | modules/base/luasrc/http.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/base/luasrc/http.lua b/modules/base/luasrc/http.lua index c53307a5a1..e8430b7276 100644 --- 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 = { |