The HTTP 410 Gone client error response status code indicates that the target resource is no longer available at the origin server and that this condition is likely to be permanent.
A 410 response is cacheable by default.
Clients should not repeat requests for resources that return a 410 response, and website owners should remove or replace links that return this code. If server owners don't know whether this condition is temporary or permanent, a status code should be used instead.
Status
410 Gone
Examples
Requesting an outdated resource
The following GET request is for a page with promotional content that is no longer valid:
GET /promotions/summer-2023 HTTP/1.1
Host: example.com
HTTP/1.1 410 Gone
Content-Type: text/html
Content-Length: 212
<html lang="en-US">
<head>
<title>Promotion expired</title>
</head>
<body>
<h1>Promotion expired</h1>
<p>Promotion no longer active! See <a href="/offers">current offers</a>.</p>
</body>
</html>
Specifications
See also
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
