diff options
author | Ry Dahl <ry@tinyclouds.org> | 2020-01-02 15:13:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-02 15:13:47 -0500 |
commit | bfab4ed0dfa5e2034005133a257201c934bc3a80 (patch) | |
tree | cd53471ad241770d3cd9a9da6246463d92e0ebeb /std/http | |
parent | b0761138e5d2486c241ab8fdfa67fe2c2a0b621b (diff) |
Happy new year! (#3578)
Diffstat (limited to 'std/http')
-rw-r--r-- | std/http/cookie.ts | 2 | ||||
-rw-r--r-- | std/http/cookie_test.ts | 2 | ||||
-rwxr-xr-x | std/http/file_server.ts | 2 | ||||
-rw-r--r-- | std/http/file_server_test.ts | 2 | ||||
-rw-r--r-- | std/http/http_bench.ts | 2 | ||||
-rw-r--r-- | std/http/http_status.ts | 2 | ||||
-rw-r--r-- | std/http/racing_server.ts | 2 | ||||
-rw-r--r-- | std/http/server.ts | 2 |
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; |