build_response_headers

Function build_response_headers 

Source
pub fn build_response_headers(
    request: &ApiRequest,
    content_type: &str,
    content_range: Option<&ContentRange>,
    location: Option<&str>,
) -> HeaderMap
Expand description

Build response headers based on request and result.