summaryrefslogtreecommitdiff
path: root/ext/http
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-01-01 14:58:21 -0500
committerGitHub <noreply@github.com>2024-01-01 19:58:21 +0000
commit7e72f3af6152d4b62c2ea94d025dfa297a6b0cb4 (patch)
tree76753f501bbede065efca7a0b62b823d64a2d9de /ext/http
parent8ba828b41e2609c91d993aec464035d62320fdad (diff)
chore: update copyright to 2024 (#21753)
Diffstat (limited to 'ext/http')
-rw-r--r--ext/http/00_serve.js2
-rw-r--r--ext/http/01_http.js2
-rw-r--r--ext/http/Cargo.toml2
-rw-r--r--ext/http/benches/compressible.rs2
-rw-r--r--ext/http/compressible.rs2
-rw-r--r--ext/http/fly_accept_encoding.rs2
-rw-r--r--ext/http/http_next.rs2
-rw-r--r--ext/http/lib.rs2
-rw-r--r--ext/http/network_buffered_stream.rs2
-rw-r--r--ext/http/reader_stream.rs2
-rw-r--r--ext/http/request_body.rs2
-rw-r--r--ext/http/request_properties.rs2
-rw-r--r--ext/http/response_body.rs2
-rw-r--r--ext/http/service.rs2
-rw-r--r--ext/http/websocket_upgrade.rs2
15 files changed, 15 insertions, 15 deletions
diff --git a/ext/http/00_serve.js b/ext/http/00_serve.js
index beac52289..26632c2ba 100644
--- a/ext/http/00_serve.js
+++ b/ext/http/00_serve.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { core, internals, primordials } from "ext:core/mod.js";
diff --git a/ext/http/01_http.js b/ext/http/01_http.js
index 1953895fd..c873889b7 100644
--- a/ext/http/01_http.js
+++ b/ext/http/01_http.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { core, internals, primordials } from "ext:core/mod.js";
const { BadResourcePrototype, InterruptedPrototype, ops } = core;
diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml
index a10a79449..8d6e16048 100644
--- a/ext/http/Cargo.toml
+++ b/ext/http/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_http"
diff --git a/ext/http/benches/compressible.rs b/ext/http/benches/compressible.rs
index 85c131ea9..5ac09cb8b 100644
--- a/ext/http/benches/compressible.rs
+++ b/ext/http/benches/compressible.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use bencher::benchmark_group;
use bencher::benchmark_main;
use bencher::Bencher;
diff --git a/ext/http/compressible.rs b/ext/http/compressible.rs
index 102a4943f..6e96582e7 100644
--- a/ext/http/compressible.rs
+++ b/ext/http/compressible.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use phf::phf_set;
use std::str::FromStr;
diff --git a/ext/http/fly_accept_encoding.rs b/ext/http/fly_accept_encoding.rs
index d48410d41..94e336876 100644
--- a/ext/http/fly_accept_encoding.rs
+++ b/ext/http/fly_accept_encoding.rs
@@ -1,5 +1,5 @@
// Copyright 2018 Yoshua Wuyts. All rights reserved. MIT license.
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// Forked from https://github.com/superfly/accept-encoding/blob/1cded757ec7ff3916e5bfe7441db76cdc48170dc/
// Forked to support both http 0.3 and http 1.0 crates.
diff --git a/ext/http/http_next.rs b/ext/http/http_next.rs
index b47e22fcc..aae216172 100644
--- a/ext/http/http_next.rs
+++ b/ext/http/http_next.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use crate::compressible::is_content_compressible;
use crate::extract_network_stream;
use crate::network_buffered_stream::NetworkStreamPrefixCheck;
diff --git a/ext/http/lib.rs b/ext/http/lib.rs
index c2607e4f9..129aaac47 100644
--- a/ext/http/lib.rs
+++ b/ext/http/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use async_compression::tokio::write::BrotliEncoder;
use async_compression::tokio::write::GzipEncoder;
diff --git a/ext/http/network_buffered_stream.rs b/ext/http/network_buffered_stream.rs
index 57b2b5810..73df2dbd9 100644
--- a/ext/http/network_buffered_stream.rs
+++ b/ext/http/network_buffered_stream.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use bytes::Bytes;
use deno_core::futures::future::poll_fn;
diff --git a/ext/http/reader_stream.rs b/ext/http/reader_stream.rs
index 3405dbb4c..be6d571b1 100644
--- a/ext/http/reader_stream.rs
+++ b/ext/http/reader_stream.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use std::pin::Pin;
use std::sync::atomic::AtomicBool;
diff --git a/ext/http/request_body.rs b/ext/http/request_body.rs
index 0650892b6..45df12457 100644
--- a/ext/http/request_body.rs
+++ b/ext/http/request_body.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use bytes::Bytes;
use deno_core::error::AnyError;
use deno_core::futures::stream::Peekable;
diff --git a/ext/http/request_properties.rs b/ext/http/request_properties.rs
index ee4c9c58c..02ef13871 100644
--- a/ext/http/request_properties.rs
+++ b/ext/http/request_properties.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::OpState;
use deno_core::ResourceId;
diff --git a/ext/http/response_body.rs b/ext/http/response_body.rs
index 8219c80ba..dac708b96 100644
--- a/ext/http/response_body.rs
+++ b/ext/http/response_body.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use std::io::Write;
use std::pin::Pin;
use std::rc::Rc;
diff --git a/ext/http/service.rs b/ext/http/service.rs
index 7e76d00d7..654da25b3 100644
--- a/ext/http/service.rs
+++ b/ext/http/service.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use crate::request_properties::HttpConnectionProperties;
use crate::response_body::ResponseBytesInner;
use crate::response_body::ResponseStreamResult;
diff --git a/ext/http/websocket_upgrade.rs b/ext/http/websocket_upgrade.rs
index 91bb81c74..4dead767a 100644
--- a/ext/http/websocket_upgrade.rs
+++ b/ext/http/websocket_upgrade.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use std::marker::PhantomData;