mirror of
https://github.com/denoland/deno.git
synced 2025-09-30 22:21:15 +00:00
First pass at streaming http response (denoland/deno_std#16)
Original: 269665873a
This commit is contained in:
parent
579b92de59
commit
f6dae45cd2
6 changed files with 121 additions and 17 deletions
|
@ -17,7 +17,7 @@ function init() {
|
|||
if (testBytes == null) {
|
||||
testBytes = new Uint8Array(N);
|
||||
for (let i = 0; i < N; i++) {
|
||||
testBytes[i] = "a".charCodeAt(0) + (i % 26);
|
||||
testBytes[i] = "a".charCodeAt(0) + i % 26;
|
||||
}
|
||||
const decoder = new TextDecoder();
|
||||
testString = decoder.decode(testBytes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue