HTTP 415 · not-html — ← all Webpath errors
?replace edits only HTML files, and this is not one.
How to recover. Edit the source directly with GET then PUT, or target an .html file.
Example response
{
"type": "https://muse.as/a/webpath/errors/not-html",
"title": "Not an HTML file",
"status": 415,
"detail": "Edit the source directly with GET then PUT, or target an .html file."
}
This page documents the not-html error type returned in Webpath RFC 7807
application/problem+json responses. The machine-readable detail field carries a recovery
hint you can show a user verbatim — see the Spec §12 and
API Reference.