mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-20 00:00:11 +02:00
Parameterize ContentLengthLimit
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
//! Handler future types.
|
||||
|
||||
use crate::body::BoxBody;
|
||||
use http::Response;
|
||||
use std::convert::Infallible;
|
||||
use crate::body::BoxBody;
|
||||
|
||||
opaque_future! {
|
||||
/// The response future for [`IntoService`](super::IntoService).
|
||||
|
||||
+1
-1
@@ -50,8 +50,8 @@ use crate::{
|
||||
service::HandleError,
|
||||
};
|
||||
use async_trait::async_trait;
|
||||
use futures_util::future::Either;
|
||||
use bytes::Bytes;
|
||||
use futures_util::future::Either;
|
||||
use http::{Request, Response};
|
||||
use std::{
|
||||
convert::Infallible,
|
||||
|
||||
Reference in New Issue
Block a user