pub fn validate_part(p: &ContentPart, max_bytes: usize) -> Result<(), String>
Construction validity of a part (§1B): exactly one of data/url, a mime type, and (when max_bytes > 0) a size cap.
max_bytes > 0