diff options
Diffstat (limited to 'http')
-rwxr-xr-x | http/file_server.ts | 1 | ||||
-rw-r--r-- | http/file_server_test.ts | 1 | ||||
-rw-r--r-- | http/http_bench.ts | 1 | ||||
-rw-r--r-- | http/http_status.ts | 1 | ||||
-rw-r--r-- | http/server.ts | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/http/file_server.ts b/http/file_server.ts index d1a34ab79..1f3fdd586 100755 --- a/http/file_server.ts +++ b/http/file_server.ts @@ -1,4 +1,5 @@ #!/usr/bin/env deno --allow-net +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // This program serves files in the current directory over HTTP. // TODO Stream responses instead of reading them into memory. diff --git a/http/file_server_test.ts b/http/file_server_test.ts index f8b2429b0..1b6613c15 100644 --- a/http/file_server_test.ts +++ b/http/file_server_test.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { readFile, run } from "deno"; import { test, assert, assertEqual } from "../testing/mod.ts"; diff --git a/http/http_bench.ts b/http/http_bench.ts index 5aca12f55..d80b2b103 100644 --- a/http/http_bench.ts +++ b/http/http_bench.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as deno from "deno"; import { serve } from "./mod.ts"; diff --git a/http/http_status.ts b/http/http_status.ts index a3006d319..9ff212f29 100644 --- a/http/http_status.ts +++ b/http/http_status.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. export enum Status { Continue = 100, // RFC 7231, 6.2.1 SwitchingProtocols = 101, // RFC 7231, 6.2.2 diff --git a/http/server.ts b/http/server.ts index fe25a5f6e..723a34523 100644 --- a/http/server.ts +++ b/http/server.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { listen, Conn, toAsyncIterator, Reader, copy } from "deno"; import { BufReader, BufState, BufWriter } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; |