files/en-us/web/http/reference/headers/if-unmodified-since/index.md
The HTTP If-Unmodified-Since {{Glossary("request header")}} makes the request for the resource conditional.
The server will send the requested resource (or accept it in the case of a {{HTTPMethod("POST")}} or another non-{{Glossary("Safe/HTTP", "safe")}} method) only if the resource on the server has not been modified after the date in the request header.
If the resource has been modified after the specified date, the response will be a {{HTTPStatus("412", "412 Precondition Failed")}} error.
The If-Unmodified-Since header is commonly used in the following situations:
If-Unmodified-Since: <day-name>, <day> <month> <year> <hour>:<minute>:<second> GMT
<day-name>
Mon, Tue, Wed, Thu, Fri, Sat, or Sun (case-sensitive).<day>
<month>
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec (case sensitive).<year>
<hour>
<minute>
<second>
If-Unmodified-Since: Wed, 21 Oct 2015 07:28:00 GMT
{{Specifications}}
{{Compat}}