Skip to main content

underscore_substitute

Function underscore_substitute 

Source
pub fn underscore_substitute(header_name: &str) -> String
Expand description

Replace hyphens with underscores in the header name.

Some web servers (notably PHP with $_SERVER, and CGI) normalise Content_TypeContent-Type. WAFs typically do not.