Expand description
Port of Go’s mime package.
Covers ParseMediaType, FormatMediaType, ExtensionsByType,
TypeByExtension, and the built-in type map.
Structs§
- File
Header - A file part from a multipart form.
- Form
- The result of
Reader::read_form. - Part
- A single part within a multipart message.
- Part
Writer - A writer for a single part’s body.
- Reader
- Reads a MIME multipart body, iterating over its parts.
Port of Go’s
multipart.NewReader. - Writer
- Writes a MIME multipart body.
Port of Go’s
multipart.NewWriter.