Parse the outer headers too, supporting non-hyper users #2
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mikedilger/mime-multipart#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Right now, for downstream crates which have data from hyper, we take Headers and the stream as separate arguments to parse_multipart().
However, in the future, data may come from sources other than Hyper (e.g. an email system, a file, etc). In those cases we should take just the stream, and parse off the headers ourselves. This will be easy to implement since we already parse internal headers ourselves (using httparse).