diff options
author | Dmitry Sharshakov <sh7dm@outlook.com> | 2019-02-07 19:45:47 +0300 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-02-07 11:45:47 -0500 |
commit | f113312ef22846ed6414f53de3acf4ce27eff40a (patch) | |
tree | eb6dda89bc459d64b3e05b81423216625ebc49c6 /http | |
parent | dc1cef498f4f9b704bf83e7173234262bf11ee44 (diff) |
Add missiong copyright headers (denoland/deno_std#177)
Original: https://github.com/denoland/deno_std/commit/54403774955af0bb5618c0ca6e12c57ec7d5fd0a
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"; |