aboutsummaryrefslogtreecommitdiffstats
path: root/util/httpstream.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/httpstream.lua')
-rw-r--r--util/httpstream.lua5
1 files changed, 4 insertions, 1 deletions
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