diff --git a/actix-http/src/h1/encoder.rs b/actix-http/src/h1/encoder.rs index 90eef591..6fce4700 100644 --- a/actix-http/src/h1/encoder.rs +++ b/actix-http/src/h1/encoder.rs @@ -8,6 +8,7 @@ use std::{ use bytes::{BufMut, Bytes, BytesMut}; +use super::big_bytes::BigBytes; use crate::{ body::BodySize, header::{ @@ -16,8 +17,6 @@ use crate::{ helpers, ConnectionType, RequestHeadType, Response, ServiceConfig, StatusCode, Version, }; -use super::big_bytes::BigBytes; - const AVERAGE_HEADER_SIZE: usize = 30; #[derive(Debug)]