From f113312ef22846ed6414f53de3acf4ce27eff40a Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Thu, 7 Feb 2019 19:45:47 +0300 Subject: Add missiong copyright headers (denoland/deno_std#177) Original: https://github.com/denoland/deno_std/commit/54403774955af0bb5618c0ca6e12c57ec7d5fd0a --- http/file_server.ts | 1 + http/file_server_test.ts | 1 + http/http_bench.ts | 1 + http/http_status.ts | 1 + http/server.ts | 1 + 5 files changed, 5 insertions(+) (limited to 'http') 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"; -- cgit v1.2.3