Skip to main content

request_head

Function request_head 

Source
pub fn request_head(request: &Request, client: Peer<'_>, host: &str) -> Vec<u8> ⓘ
Expand description

The request head as sent to the backend: the client’s headers (with Host = host) plus X-Forwarded-For and, unless the client sent one, X-Forwarded-Host (the client’s own Host).