mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 08:57:00 +02:00
multipart boundary extraction
This commit is contained in:
@@ -191,7 +191,7 @@ impl HttpRequest {
|
||||
///
|
||||
/// Content-type: multipart/form-data;
|
||||
pub fn multipart(&self, payload: Payload) -> Result<Multipart, MultipartError> {
|
||||
Ok(Multipart::new(Multipart::boundary(self)?, payload))
|
||||
Ok(Multipart::new(Multipart::boundary(&self.headers)?, payload))
|
||||
}
|
||||
|
||||
/// Parse `application/x-www-form-urlencoded` encoded body.
|
||||
|
Reference in New Issue
Block a user