summaryrefslogtreecommitdiff
path: root/ext/http/websocket_upgrade.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-12-22 01:54:28 +0100
committerGitHub <noreply@github.com>2023-12-22 01:54:28 +0100
commitf86456fc26d1c02f6c511125037efed576f87458 (patch)
treebe9615e8cec34cc21691132fa26d57ff47fde110 /ext/http/websocket_upgrade.rs
parent3fb4f3fe5a18916aa95f8b035ca994c290c173dc (diff)
chore: update ext/http to hyper 1.0.1 and http 1.0 (#21588)
Closes https://github.com/denoland/deno/issues/21583.
Diffstat (limited to 'ext/http/websocket_upgrade.rs')
-rw-r--r--ext/http/websocket_upgrade.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/http/websocket_upgrade.rs b/ext/http/websocket_upgrade.rs
index f57f9e56b..d1eabfdf5 100644
--- a/ext/http/websocket_upgrade.rs
+++ b/ext/http/websocket_upgrade.rs
@@ -6,9 +6,9 @@ use bytes::Bytes;
use bytes::BytesMut;
use deno_core::error::AnyError;
use httparse::Status;
-use hyper::http::HeaderName;
-use hyper::http::HeaderValue;
-use hyper::Response;
+use hyper1::header::HeaderName;
+use hyper1::header::HeaderValue;
+use hyper1::Response;
use memmem::Searcher;
use memmem::TwoWaySearcher;
use once_cell::sync::OnceCell;