410 Gone
The HTTP410 Goneclient 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, a404 status code should be used instead.
In this article
Status
http
410 GoneExamples
>Requesting an outdated resource
The followingGET request is for a page with promotional content that is no longer valid:
http
GET /promotions/summer-2023 HTTP/1.1Host: example.comhttp
HTTP/1.1 410 GoneContent-Type: text/htmlContent-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
| Specification |
|---|
| HTTP Semantics> # status.410> |