actix-web/actix-multipart
Matt Gathu 8ff0b43173 Fix Multipart consuming payload before header checks
What
--
Split up logic in the constructor into two functions:

- **from_boundary:** build Multipart from boundary and stream
- **from_error:** build Multipart for MultipartError

Also we make the `boundary`, `from_boundary`, `from_error`  methods public within the crate so that we can use them in the extractor.

The extractor is then able to perform header checks and only consume the
payload if the checks pass.
2020-09-21 20:24:38 +02:00
..
src Fix Multipart consuming payload before header checks 2020-09-21 20:24:38 +02:00
CHANGES.md Fix Multipart consuming payload before header checks 2020-09-21 20:24:38 +02:00
Cargo.toml the big three point oh (#1668) 2020-09-11 13:50:10 +01:00
LICENSE-APACHE add license files 2019-06-01 17:25:29 +06:00
LICENSE-MIT add license files 2019-06-01 17:25:29 +06:00
README.md bump msrv in ci and readme 2020-05-13 01:57:37 +01:00

README.md

Multipart support for actix web framework Build Status codecov crates.io Join the chat at https://gitter.im/actix/actix

Documentation & community resources