pub fn extract_header_true_client_ip(
headers: &HeaderMap,
) -> Result<Option<IpAddr>, Error>Expand description
Extract an untrusted client IP asserted by True-Client-IP.
This reads only the HeaderMap. A missing field returns None; duplicate,
non-text, empty, or non-IP values return an error without including the
value. Surrounding whitespace is ignored. This de facto, non-IETF field is
commonly emitted by configured CDN or proxy products; its presence alone
does not authenticate the sender or establish trust.