[][src]Constant reqwest::header::IF_UNMODIFIED_SINCE

pub const IF_UNMODIFIED_SINCE: HeaderName;

Makes the request conditional based on the last modification date.

The If-Unmodified-Since request HTTP header makes the request conditional: the server will send back the requested resource, or accept it in the case of a POST or another non-safe method, only if it has not been last modified after the given date. If the request has been modified after the given date, the response will be a 412 (Precondition Failed) error.

There are two common use cases: