From 3eaad8492287a13de424a881d0743f386f25fe8e Mon Sep 17 00:00:00 2001 From: StellarisW Date: Wed, 23 Oct 2024 17:52:53 +0800 Subject: [PATCH] feat(http): add multipart for server --- volo-http/src/server/utils/multipart.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volo-http/src/server/utils/multipart.rs b/volo-http/src/server/utils/multipart.rs index 432d6f1a..e0bba9bc 100644 --- a/volo-http/src/server/utils/multipart.rs +++ b/volo-http/src/server/utils/multipart.rs @@ -17,7 +17,7 @@ //! }; //! //! async fn upload( -//! mut multipart: Multipart<'static>, +//! mut multipart: Multipart, //! ) -> Result { //! while let Some(field) = multipart.next_field().await? { //! let name = field.name().unwrap();