pub fn check_conditional(
req: &Request<impl Body>,
current_etag: &str,
current_last_modified: &str,
) -> ConditionalResultExpand description
Checks If-None-Match and If-Modified-Since headers against the
current ETag and Last-Modified values.
Per RFC 7232, If-None-Match takes precedence over If-Modified-Since.