2015-11-06 21:39:33 +01:00
|
|
|
---
|
|
|
|
set: 4
|
|
|
|
code: 404
|
|
|
|
title: Not Found
|
2015-11-07 05:34:40 +01:00
|
|
|
references:
|
|
|
|
"Rails HTTP Status Symbol": ":not_found"
|
2015-11-06 21:39:33 +01:00
|
|
|
---
|
|
|
|
|
2015-11-07 06:45:46 +01:00
|
|
|
The 404 Not Found status code indicates that the origin server did not find a
|
2015-11-07 05:34:40 +01:00
|
|
|
current representation for the target resource or is not willing to disclose
|
2015-11-07 06:45:46 +01:00
|
|
|
that one exists.
|
|
|
|
|
|
|
|
A 404 status code does not indicate whether this lack of representation is
|
|
|
|
temporary or permanent; the [410 (Gone)](/410) status code is preferred over 404
|
|
|
|
if the origin server knows, presumably through some configurable means, that the
|
|
|
|
condition is likely to be permanent.
|
2015-11-07 05:34:40 +01:00
|
|
|
|
|
|
|
A 404 response is cacheable by default; i.e., unless otherwise indicated by the
|
|
|
|
method definition or explicit cache controls
|
|
|
|
(see [Section 4.2.2 of RFC7234][2]).
|
|
|
|
|
|
|
|
Source: [RFC7231 6.5.4][1]
|
|
|
|
|
|
|
|
[1]: <http://tools.ietf.org/html/rfc7231#section-6.5.4>
|
|
|
|
[2]: <http://tools.ietf.org/html/rfc7234#section-4.2.2>
|