From 77eaad64ce6df9f456ae5f485e7d02f10c0968b7 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 18 Sep 2014 09:32:59 +0000 Subject: [PATCH] luci-0.12: merge r10529 --- modules/base/luasrc/http.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/base/luasrc/http.lua b/modules/base/luasrc/http.lua index c53307a5a..e8430b727 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 = { -- 2.25.1