510

Not Extended

Overview

510 Not Extended means the server needs an additional extension to process the request, but that extension was not declared in the request. It is defined by the experimental HTTP Extension Framework (Mandatory Extensions) in RFC 2774.

That framework was never widely adopted and RFC 2774 remained Experimental, so 510 is almost never used on the modern web.

When it happens

Request / Response example

Request
GET /resource HTTP/1.1
Host: example.com
Response
HTTP/1.1 510 Not Extended
Content-Type: text/plain

The request must include a required extension declaration.

In code

app.get('/resource', (req, res) => {
  if (!req.headers['c-ext']) {
    return res.status(510).send('Not Extended: required extension missing');
  }
  // ...
});

Common causes

How to fix

Notes

Related status codes

Related headers

Specification