diff options
Diffstat (limited to 'std/http')
| -rw-r--r-- | std/http/io.ts | 2 | ||||
| -rw-r--r-- | std/http/io_test.ts | 2 | ||||
| -rw-r--r-- | std/http/server_test.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/std/http/io.ts b/std/http/io.ts index e12c9fb6e..d16489767 100644 --- a/std/http/io.ts +++ b/std/http/io.ts @@ -1,7 +1,7 @@ import { BufReader, BufWriter } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; import { assert } from "../testing/asserts.ts"; -import { encoder } from "../strings/mod.ts"; +import { encoder } from "../encoding/utf8.ts"; import { ServerRequest, Response } from "./server.ts"; import { STATUS_TEXT } from "./http_status.ts"; diff --git a/std/http/io_test.ts b/std/http/io_test.ts index c1d6a921b..aa9c86130 100644 --- a/std/http/io_test.ts +++ b/std/http/io_test.ts @@ -15,7 +15,7 @@ import { readRequest, writeResponse, } from "./io.ts"; -import { encode, decode } from "../strings/mod.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"; diff --git a/std/http/server_test.ts b/std/http/server_test.ts index d6b2be053..e70c241c7 100644 --- a/std/http/server_test.ts +++ b/std/http/server_test.ts @@ -16,7 +16,7 @@ import { import { Response, ServerRequest, Server, serve } from "./server.ts"; import { BufReader, BufWriter } from "../io/bufio.ts"; import { delay } from "../util/async.ts"; -import { encode, decode } from "../strings/mod.ts"; +import { encode, decode } from "../encoding/utf8.ts"; import { mockConn } from "./mock.ts"; const { Buffer, test } = Deno; |
