summaryrefslogtreecommitdiff
path: root/std/http
diff options
context:
space:
mode:
Diffstat (limited to 'std/http')
-rw-r--r--std/http/_io.ts2
-rw-r--r--std/http/cookie.ts2
-rwxr-xr-xstd/http/file_server.ts2
-rw-r--r--std/http/server.ts2
4 files changed, 4 insertions, 4 deletions
diff --git a/std/http/_io.ts b/std/http/_io.ts
index 82954ccee..1db0fc292 100644
--- a/std/http/_io.ts
+++ b/std/http/_io.ts
@@ -1,6 +1,6 @@
import { BufReader, BufWriter } from "../io/bufio.ts";
import { TextProtoReader } from "../textproto/mod.ts";
-import { assert } from "../testing/asserts.ts";
+import { assert } from "../_util/assert.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/cookie.ts b/std/http/cookie.ts
index a138eb350..88a71626c 100644
--- a/std/http/cookie.ts
+++ b/std/http/cookie.ts
@@ -2,7 +2,7 @@
// Structured similarly to Go's cookie.go
// https://github.com/golang/go/blob/master/src/net/http/cookie.go
import { ServerRequest, Response } from "./server.ts";
-import { assert } from "../testing/asserts.ts";
+import { assert } from "../_util/assert.ts";
import { toIMF } from "../datetime/mod.ts";
export interface Cookies {
diff --git a/std/http/file_server.ts b/std/http/file_server.ts
index 7614c3ab2..66babfd57 100755
--- a/std/http/file_server.ts
+++ b/std/http/file_server.ts
@@ -10,7 +10,7 @@ const { args, stat, readDir, open, exit } = Deno;
import { posix, extname } from "../path/mod.ts";
import { listenAndServe, ServerRequest, Response } from "./server.ts";
import { parse } from "../flags/mod.ts";
-import { assert } from "../testing/asserts.ts";
+import { assert } from "../_util/assert.ts";
interface EntryInfo {
mode: string;
diff --git a/std/http/server.ts b/std/http/server.ts
index faf5da6af..3cc95a9e4 100644
--- a/std/http/server.ts
+++ b/std/http/server.ts
@@ -1,7 +1,7 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { encode } from "../encoding/utf8.ts";
import { BufReader, BufWriter } from "../io/bufio.ts";
-import { assert } from "../testing/asserts.ts";
+import { assert } from "../_util/assert.ts";
import { deferred, Deferred, MuxAsyncIterator } from "../async/mod.ts";
import {
bodyReader,