Function milstian_http::capitalize_key [−][src]
pub fn capitalize_key(word: &str) -> String
Capitalize key, used for http header keys
Usage
assert_eq!("Content-Type".to_string(), milstian_http::capitalize_key("content-type"));