Skip to main content

split_comma_entries

Function split_comma_entries 

Source
pub fn split_comma_entries(raw: &str) -> Vec<&str>
Expand description

Split comma-separated header entries respecting angle-bracket nesting.

SIP headers that carry lists (RFC 3261 ยง7.3.1) use commas as delimiters, but commas may also appear inside angle-bracketed URIs. This function splits only on commas at bracket depth zero.