summaryrefslogtreecommitdiff
path: root/std/http
diff options
context:
space:
mode:
Diffstat (limited to 'std/http')
-rw-r--r--std/http/cookie.ts2
-rw-r--r--std/http/cookie_test.ts2
-rwxr-xr-xstd/http/file_server.ts2
-rw-r--r--std/http/file_server_test.ts2
-rw-r--r--std/http/http_bench.ts2
-rw-r--r--std/http/http_status.ts2
-rw-r--r--std/http/racing_server.ts2
-rw-r--r--std/http/server.ts2
8 files changed, 8 insertions, 8 deletions
diff --git a/std/http/cookie.ts b/std/http/cookie.ts
index 4d2704da1..b63c31216 100644
--- a/std/http/cookie.ts
+++ b/std/http/cookie.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 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 { ServerRequest, Response } from "./server.ts";
diff --git a/std/http/cookie_test.ts b/std/http/cookie_test.ts
index eed88a69e..66061a5a4 100644
--- a/std/http/cookie_test.ts
+++ b/std/http/cookie_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { ServerRequest, Response } from "./server.ts";
import { getCookies, delCookie, setCookie } from "./cookie.ts";
import { assert, assertEquals } from "../testing/asserts.ts";
diff --git a/std/http/file_server.ts b/std/http/file_server.ts
index 4fd49930c..4510023f7 100755
--- a/std/http/file_server.ts
+++ b/std/http/file_server.ts
@@ -1,5 +1,5 @@
#!/usr/bin/env -S deno --allow-net
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 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 deb08f198..170979b61 100644
--- a/std/http/file_server_test.ts
+++ b/std/http/file_server_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { test } from "../testing/mod.ts";
import { assert, assertEquals } from "../testing/asserts.ts";
import { BufReader } from "../io/bufio.ts";
diff --git a/std/http/http_bench.ts b/std/http/http_bench.ts
index 7b38e742a..8ca389e5c 100644
--- a/std/http/http_bench.ts
+++ b/std/http/http_bench.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { serve } from "./server.ts";
const addr = Deno.args[1] || "127.0.0.1:4500";
diff --git a/std/http/http_status.ts b/std/http/http_status.ts
index cad0b9e1c..ead1e1ff0 100644
--- a/std/http/http_status.ts
+++ b/std/http/http_status.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** HTTP status codes */
export enum Status {
diff --git a/std/http/racing_server.ts b/std/http/racing_server.ts
index 17d982460..629fef2db 100644
--- a/std/http/racing_server.ts
+++ b/std/http/racing_server.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { serve, ServerRequest } from "./server.ts";
import { delay } from "../util/async.ts";
diff --git a/std/http/server.ts b/std/http/server.ts
index 457e0461e..0966d450a 100644
--- a/std/http/server.ts
+++ b/std/http/server.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
const { listen, listenTLS, copy, toAsyncIterator } = Deno;
type Listener = Deno.Listener;
type Conn = Deno.Conn;