Skip to main content

prefix

Function prefix 

Source
pub fn prefix(headers: &HeaderMap) -> String
Expand description

X-Forwarded-Prefix when it is a plain path (/ and letters, digits, -, _, ., ~; no ..), without its trailing slash; else "". Anything else is ignored rather than put into links.