pub fn sniff_meta(raw: &[u8]) -> Option<String>Expand description
Find <meta charset=…> in the head of a body whose header declared nothing.
Only the first 2 KiB are searched: the declaration is required to appear early, and scanning a whole 5 MiB body for it would be wasted work.