lookup> If-Unmodified-Since

If-Unmodified-Since

can be used to make a request method conditional by modification date: if the selected representation has been modified since the time specified in this field, then the server MUST NOT perform the requested operation and MUST instead respond with the 412 (Precondition Failed) status code.

请求头RFC7232#3.4
NameIf-Unmodified-Since
Type请求头
SpecificationRFC7232#3.4

can be used to make a request method conditional by modification date: if the selected representation has been modified since the time specified in this field, then the server MUST NOT perform the requested operation and MUST instead respond with the 412 (Precondition Failed) status code.

If-Unmodified-Since: Mon, 17 Aug 2026 10:00:00 GMT

RFC7232#3.4

What does the If-Unmodified-Since header do?

can be used to make a request method conditional by modification date: if the selected representation has been modified since the time specified in this field, then the server MUST NOT perform the requested operation and MUST instead respond with the 412 (Precondition Failed) status code.

Is If-Unmodified-Since a request or response header?

It is classified as a request header and can appear in requests or responses depending on context.

Related status codes

Related methods