refactor(std/http): move io functions to http/io.ts (#4126)

This commit is contained in:
Yusuke Sakurai 2020-02-27 00:48:35 +09:00 committed by GitHub
parent 9a8d6fbd98
commit 942e67c00b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 667 additions and 691 deletions

View file

@ -5,7 +5,7 @@ import { hasOwnProperty } from "../util/has_own_property.ts";
import { BufReader, BufWriter, UnexpectedEOFError } from "../io/bufio.ts";
import { readLong, readShort, sliceLongToBytes } from "../io/ioutil.ts";
import { Sha1 } from "./sha1.ts";
import { writeResponse } from "../http/server.ts";
import { writeResponse } from "../http/io.ts";
import { TextProtoReader } from "../textproto/mod.ts";
import { Deferred, deferred } from "../util/async.ts";
import { assertNotEOF } from "../testing/asserts.ts";