1 local httpstreams = { [[
15 Transfer-Encoding: chunked
33 for _, stream in ipairs(httpstreams) do
35 local function success_cb(packet)
38 stream = stream:gsub("\n", "\r\n");
39 local parser = new(success_cb, error, stream:sub(1,4) == "HTTP" and "client" or "server")
40 for chunk in stream:gmatch("..?.?") do