http
GET /api/protected-resource HTTP/1.1
Host: api.example.com
HTTP/1.1 510 Not Extended
Content-Type: application/json
{
"status": 510,
"error": "extensions_not_declared",
"message": "Multiple extensions required for this resource",
"mandatory_extensions": [
{
"uri": "http://example.com/ext/auth",
"namespace": "01",
"header": "Man: \"http://example.com/ext/auth\"; ns=01"
},
{
"uri": "http://example.com/ext/audit",
"namespace": "02",
"header": "Man: \"http://example.com/ext/audit\"; ns=02"
}
],
"example_request": "GET /api/protected-resource\nMan: \"http://example.com/ext/auth\"; ns=01\nMan: \"http://example.com/ext/audit\"; ns=02"
}