diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-12-14 19:43:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-14 18:43:33 +0000 |
commit | c481ff7d816a709d19a82a5818e9da7ab7af0db0 (patch) | |
tree | c3040cd7f91581bd3798e02e28e84838d6136bf4 /ext/http/http_next.rs | |
parent | 8d269efbc2826955d853421a6d52cdcdcaf8e577 (diff) |
refactor(ext/http): fork fly_accept_encodings crate (#21586)
Blocks update to Hyper 1.0. It's a really small library, no need to pull
it as a dependency.
Blocker for #21583
Diffstat (limited to 'ext/http/http_next.rs')
-rw-r--r-- | ext/http/http_next.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/http/http_next.rs b/ext/http/http_next.rs index 217ae1c39..c1cb2df66 100644 --- a/ext/http/http_next.rs +++ b/ext/http/http_next.rs @@ -44,7 +44,6 @@ use deno_core::ResourceId; use deno_net::ops_tls::TlsStream; use deno_net::raw::NetworkStream; use deno_websocket::ws_create_server_stream; -use fly_accept_encoding::Encoding; use http::header::ACCEPT_ENCODING; use http::header::CACHE_CONTROL; use http::header::CONTENT_ENCODING; @@ -72,6 +71,9 @@ use std::pin::Pin; use std::ptr::null; use std::rc::Rc; +use super::fly_accept_encoding; +use fly_accept_encoding::Encoding; + use tokio::io::AsyncReadExt; use tokio::io::AsyncWriteExt; |