Skip to main content

mime_split

Function mime_split 

Source
fn mime_split(raw: &[u8], content: bool) -> Option<usize>
Expand description

Where the MIME-Version: 1.0 line open adds after a message’s outer headers starts, when nothing of MIME comes before it; with content, only when a content’s header follows it (what open rebuilt from an entity with headers of its own). Without, whatever follows: an entity with an empty head, or none, rebuilt so (review of 19 October 2026, N7).