bugfix
This commit is contained in:
parent
20acb4f882
commit
e580ee48be
@ -211,6 +211,7 @@ bricks.HttpResponseStream = class extends bricks.HttpResponse {
|
|||||||
const text = decoder.decode(result.value);
|
const text = decoder.decode(result.value);
|
||||||
buff_ += text;
|
buff_ += text;
|
||||||
const lines = buff_.split('\n');
|
const lines = buff_.split('\n');
|
||||||
|
console.log(buff_, lines);
|
||||||
for (var i=0;i<lines.length - 1; i++){
|
for (var i=0;i<lines.length - 1; i++){
|
||||||
handler(lines[i]);
|
handler(lines[i]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user