From: Jo-Philipp Wich Date: Sat, 25 Jun 2011 22:57:53 +0000 (+0000) Subject: luci-0.10: merge r7236 X-Git-Tag: 0.10.0~109 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a802cedd2e1114681ce5ee93d26bd71f92da6b57;p=oweals%2Fluci.git luci-0.10: merge r7236 --- diff --git a/libs/httpclient/luasrc/httpclient.lua b/libs/httpclient/luasrc/httpclient.lua index aacc79a5b..93eed05c6 100644 --- a/libs/httpclient/luasrc/httpclient.lua +++ b/libs/httpclient/luasrc/httpclient.lua @@ -92,7 +92,7 @@ function request_to_source(uri, options) if not status then return status, response, buffer elseif status ~= 200 and status ~= 206 then - return nil, status, response + return nil, status, buffer end if response.headers["Transfer-Encoding"] == "chunked" then