summaryrefslogtreecommitdiff
path: root/std/http/file_server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/http/file_server.ts')
-rwxr-xr-xstd/http/file_server.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/std/http/file_server.ts b/std/http/file_server.ts
index da2b0b5a2..e1fe14fcf 100755
--- a/std/http/file_server.ts
+++ b/std/http/file_server.ts
@@ -8,14 +8,10 @@
const { args, stat, readDir, open, exit } = Deno;
import { posix } from "../path/mod.ts";
-import {
- listenAndServe,
- ServerRequest,
- setContentLength,
- Response
-} from "./server.ts";
+import { listenAndServe, ServerRequest, Response } from "./server.ts";
import { parse } from "../flags/mod.ts";
import { assert } from "../testing/asserts.ts";
+import { setContentLength } from "./io.ts";
interface EntryInfo {
mode: string;