Skip to main content

Module mime

Module mime 

Source
Expand description

Allocation-free MIME media types and original header-field framing.

Structs§

Essences
One incremental MIME grammar pass and fixed, allocation-free comparisons against known type/subtype pairs. Parameters remain syntax-checked but do not participate in this comparison. This is not full MIME-value equality.
Syntax
Incremental allocation-free RFC2045 media-type syntax.

Functions§

media_type_or_headers
Accepts a media type or header fields containing one explicit Content-Type.