summaryrefslogtreecommitdiff
path: root/ext/http/lib.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-12-14 19:43:33 +0100
committerGitHub <noreply@github.com>2023-12-14 18:43:33 +0000
commitc481ff7d816a709d19a82a5818e9da7ab7af0db0 (patch)
treec3040cd7f91581bd3798e02e28e84838d6136bf4 /ext/http/lib.rs
parent8d269efbc2826955d853421a6d52cdcdcaf8e577 (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/lib.rs')
-rw-r--r--ext/http/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/http/lib.rs b/ext/http/lib.rs
index af0f0f0c9..f4fb55062 100644
--- a/ext/http/lib.rs
+++ b/ext/http/lib.rs
@@ -41,7 +41,6 @@ use deno_net::raw::NetworkStream;
use deno_websocket::ws_create_server_stream;
use flate2::write::GzEncoder;
use flate2::Compression;
-use fly_accept_encoding::Encoding;
use hyper::body::Bytes;
use hyper::body::HttpBody;
use hyper::body::SizeHint;
@@ -79,6 +78,7 @@ use crate::reader_stream::ExternallyAbortableReaderStream;
use crate::reader_stream::ShutdownHandle;
pub mod compressible;
+mod fly_accept_encoding;
mod http_next;
mod hyper_util_tokioio;
mod network_buffered_stream;
@@ -89,6 +89,7 @@ mod response_body;
mod service;
mod websocket_upgrade;
+use fly_accept_encoding::Encoding;
pub use request_properties::DefaultHttpPropertyExtractor;
pub use request_properties::HttpConnectionProperties;
pub use request_properties::HttpListenProperties;