Skip to main content

Module multipart

Module multipart 

Source
Expand description

Port of Go’s mime package.

Covers ParseMediaType, FormatMediaType, ExtensionsByType, TypeByExtension, and the built-in type map.

Structs§

FileHeader
A file part from a multipart form.
Form
The result of Reader::read_form.
Part
A single part within a multipart message.
PartWriter
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.