http: ensure .content() works by default
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 18 Sep 2014 09:29:30 +0000 (09:29 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 18 Sep 2014 09:29:30 +0000 (09:29 +0000)
commita16c0c320086d3814abc52ddbf3d60b6b5a291a3
tree9775d51f0287d6fa1db24e7e2e585d86a1a07bf9
parent2898d8072f0e1dbd03413edb26f188602a216a14
http: ensure .content() works by default

filehandler was always set, so the default handler was never being
called.  This led to calls to http.content() always returning nil.

Signed-off-by: Karl Palsson <karlp@remake.is>
modules/base/luasrc/http.lua