Skip to main content

to_cow_optimized

Function to_cow_optimized 

Source
pub fn to_cow_optimized(headers: HashMap<String, Vec<String>>) -> CowHeaderMap
Expand description

Convert standard headers to Cow-optimized format.

This converts both header names and values to the optimized format, using static references for known header names.