diff options
Diffstat (limited to 'std/http')
-rw-r--r-- | std/http/_io.ts (renamed from std/http/io.ts) | 0 | ||||
-rw-r--r-- | std/http/_io_test.ts (renamed from std/http/io_test.ts) | 6 | ||||
-rw-r--r-- | std/http/_mock_conn.ts (renamed from std/http/mock.ts) | 0 | ||||
-rw-r--r-- | std/http/racing_server.ts | 2 | ||||
-rw-r--r-- | std/http/server.ts | 4 | ||||
-rw-r--r-- | std/http/server_test.ts | 4 |
6 files changed, 8 insertions, 8 deletions
diff --git a/std/http/io.ts b/std/http/_io.ts index 631adafd0..631adafd0 100644 --- a/std/http/io.ts +++ b/std/http/_io.ts diff --git a/std/http/io_test.ts b/std/http/_io_test.ts index c0f57a1b7..c22ebdf07 100644 --- a/std/http/io_test.ts +++ b/std/http/_io_test.ts @@ -7,18 +7,18 @@ import { } from "../testing/asserts.ts"; import { bodyReader, + chunkedBodyReader, writeTrailers, readTrailers, parseHTTPVersion, readRequest, writeResponse, -} from "./io.ts"; +} from "./_io.ts"; import { encode, decode } from "../encoding/utf8.ts"; import { BufReader, ReadLineResult } from "../io/bufio.ts"; -import { chunkedBodyReader } from "./io.ts"; import { ServerRequest, Response } from "./server.ts"; import { StringReader } from "../io/readers.ts"; -import { mockConn } from "./mock.ts"; +import { mockConn } from "./_mock_conn.ts"; const { Buffer, test, readAll } = Deno; test("bodyReader", async () => { diff --git a/std/http/mock.ts b/std/http/_mock_conn.ts index be07ede24..be07ede24 100644 --- a/std/http/mock.ts +++ b/std/http/_mock_conn.ts diff --git a/std/http/racing_server.ts b/std/http/racing_server.ts index 0b0e5a8a5..67db029e0 100644 --- a/std/http/racing_server.ts +++ b/std/http/racing_server.ts @@ -1,6 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { serve, ServerRequest } from "./server.ts"; -import { delay } from "../util/async.ts"; +import { delay } from "../async/delay.ts"; const addr = Deno.args[1] || "127.0.0.1:4501"; const server = serve(addr); diff --git a/std/http/server.ts b/std/http/server.ts index 9c678ad3d..a372b39a5 100644 --- a/std/http/server.ts +++ b/std/http/server.ts @@ -2,14 +2,14 @@ import { encode } from "../encoding/utf8.ts"; import { BufReader, BufWriter } from "../io/bufio.ts"; import { assert } from "../testing/asserts.ts"; -import { deferred, Deferred, MuxAsyncIterator } from "../util/async.ts"; +import { deferred, Deferred, MuxAsyncIterator } from "../async/mod.ts"; import { bodyReader, chunkedBodyReader, emptyReader, writeResponse, readRequest, -} from "./io.ts"; +} from "./_io.ts"; import Listener = Deno.Listener; import Conn = Deno.Conn; import Reader = Deno.Reader; diff --git a/std/http/server_test.ts b/std/http/server_test.ts index 03256dd25..807695c6b 100644 --- a/std/http/server_test.ts +++ b/std/http/server_test.ts @@ -15,9 +15,9 @@ import { } from "../testing/asserts.ts"; import { Response, ServerRequest, Server, serve } from "./server.ts"; import { BufReader, BufWriter } from "../io/bufio.ts"; -import { delay } from "../util/async.ts"; +import { delay } from "../async/delay.ts"; import { encode, decode } from "../encoding/utf8.ts"; -import { mockConn } from "./mock.ts"; +import { mockConn } from "./_mock_conn.ts"; const { Buffer, test } = Deno; |