X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=util%2Fhttpstream.lua;h=bdc3fce776c45827ffdf7cd533d7df69dc1a4cdc;hb=0b8ab7b6a50cc377c1ce23abd7c9fb23407deace;hp=c9f2f691627c7d03478a7f7b5f3b9954ed848632;hpb=cd8f3109a1804c6e17b0763633813e406ab02fd3;p=prosody.git diff --git a/util/httpstream.lua b/util/httpstream.lua index c9f2f691..bdc3fce7 100644 --- a/util/httpstream.lua +++ b/util/httpstream.lua @@ -104,9 +104,12 @@ local function parser(success_cb, parser_type, options_cb) success_cb({ code = status_code; + httpversion = httpversion; + headers = headers; + body = body; + -- COMPAT the properties below are deprecated responseversion = httpversion; responseheaders = headers; - body = body; }); end else coroutine.yield("unknown-parser-type"); end