pub fn require_if_match(req: &Request, current_etag: &str) -> Result<()>Expand description
Precondition for updating a resource whose current tag is current_etag
428 Precondition Required without an If-Match header, 412 Precondition Failed when it does not match.