diff options
Diffstat (limited to 'std/http')
-rw-r--r-- | std/http/_io.ts | 2 | ||||
-rw-r--r-- | std/http/_io_test.ts | 2 | ||||
-rw-r--r-- | std/http/_mock_conn.ts | 2 | ||||
-rw-r--r-- | std/http/bench.ts | 2 | ||||
-rw-r--r-- | std/http/cookie.ts | 2 | ||||
-rw-r--r-- | std/http/cookie_test.ts | 2 | ||||
-rw-r--r-- | std/http/file_server.ts | 2 | ||||
-rw-r--r-- | std/http/file_server_test.ts | 2 | ||||
-rw-r--r-- | std/http/http_status.ts | 2 | ||||
-rw-r--r-- | std/http/mod.ts | 2 | ||||
-rw-r--r-- | std/http/racing_server.ts | 2 | ||||
-rw-r--r-- | std/http/racing_server_test.ts | 2 | ||||
-rw-r--r-- | std/http/server.ts | 2 | ||||
-rw-r--r-- | std/http/test.ts | 2 | ||||
-rw-r--r-- | std/http/testdata/simple_https_server.ts | 2 | ||||
-rw-r--r-- | std/http/testdata/simple_server.ts | 2 |
16 files changed, 16 insertions, 16 deletions
diff --git a/std/http/_io.ts b/std/http/_io.ts index 4ff3dd4e6..5bdf930e6 100644 --- a/std/http/_io.ts +++ b/std/http/_io.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { BufReader, BufWriter } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; import { assert } from "../_util/assert.ts"; diff --git a/std/http/_io_test.ts b/std/http/_io_test.ts index 7c1a80a2f..ea3d282b8 100644 --- a/std/http/_io_test.ts +++ b/std/http/_io_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/std/http/_mock_conn.ts b/std/http/_mock_conn.ts index 4ce2b65f4..b2abb301a 100644 --- a/std/http/_mock_conn.ts +++ b/std/http/_mock_conn.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. /** Create dummy Deno.Conn object with given base properties */ export function mockConn(base: Partial<Deno.Conn> = {}): Deno.Conn { diff --git a/std/http/bench.ts b/std/http/bench.ts index 15f223323..5ba95ef0a 100644 --- a/std/http/bench.ts +++ b/std/http/bench.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { serve } from "./server.ts"; const addr = Deno.args[0] || "127.0.0.1:4500"; diff --git a/std/http/cookie.ts b/std/http/cookie.ts index 48895a2b1..c48a94d95 100644 --- a/std/http/cookie.ts +++ b/std/http/cookie.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // Structured similarly to Go's cookie.go // https://github.com/golang/go/blob/master/src/net/http/cookie.go import { assert } from "../_util/assert.ts"; diff --git a/std/http/cookie_test.ts b/std/http/cookie_test.ts index 09d6764af..1973eed01 100644 --- a/std/http/cookie_test.ts +++ b/std/http/cookie_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Response, ServerRequest } from "./server.ts"; import { deleteCookie, getCookies, setCookie } from "./cookie.ts"; import { assert, assertEquals, assertThrows } from "../testing/asserts.ts"; diff --git a/std/http/file_server.ts b/std/http/file_server.ts index c0d58351b..5b8811c08 100644 --- a/std/http/file_server.ts +++ b/std/http/file_server.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --allow-net --allow-read -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 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/std/http/file_server_test.ts b/std/http/file_server_test.ts index 050109fe0..beb0c830d 100644 --- a/std/http/file_server_test.ts +++ b/std/http/file_server_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/std/http/http_status.ts b/std/http/http_status.ts index a0d0c278d..a6148b2f7 100644 --- a/std/http/http_status.ts +++ b/std/http/http_status.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. /** HTTP status codes */ export enum Status { diff --git a/std/http/mod.ts b/std/http/mod.ts index 373e01449..827eaebf8 100644 --- a/std/http/mod.ts +++ b/std/http/mod.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. export * from "./cookie.ts"; export * from "./http_status.ts"; export * from "./server.ts"; diff --git a/std/http/racing_server.ts b/std/http/racing_server.ts index 1770443af..b5cf69298 100644 --- a/std/http/racing_server.ts +++ b/std/http/racing_server.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { serve, ServerRequest } from "./server.ts"; import { delay } from "../async/delay.ts"; diff --git a/std/http/racing_server_test.ts b/std/http/racing_server_test.ts index 5e253c6cd..8018a4312 100644 --- a/std/http/racing_server_test.ts +++ b/std/http/racing_server_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "../testing/asserts.ts"; import { BufReader, BufWriter } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; diff --git a/std/http/server.ts b/std/http/server.ts index 2833c48dc..f17c759c4 100644 --- a/std/http/server.ts +++ b/std/http/server.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { encode } from "../encoding/utf8.ts"; import { BufReader, BufWriter } from "../io/bufio.ts"; import { assert } from "../_util/assert.ts"; diff --git a/std/http/test.ts b/std/http/test.ts index 57684a50e..590417055 100644 --- a/std/http/test.ts +++ b/std/http/test.ts @@ -1,2 +1,2 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import "./mod.ts"; diff --git a/std/http/testdata/simple_https_server.ts b/std/http/testdata/simple_https_server.ts index de6111bbf..84dfb39ab 100644 --- a/std/http/testdata/simple_https_server.ts +++ b/std/http/testdata/simple_https_server.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // This is an example of a https server import { serveTLS } from "../server.ts"; diff --git a/std/http/testdata/simple_server.ts b/std/http/testdata/simple_server.ts index d8ca4cc97..ff2a0b5ac 100644 --- a/std/http/testdata/simple_server.ts +++ b/std/http/testdata/simple_server.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // This is an example of a server that responds with an empty body import { serve } from "../server.ts"; |