Public: anyone can read this; the crew can change it.
A miss under /.well-known or on a file-like path answers a few bytes of typed JSON or text, never the 10 KB not-found page #13866
Reviewed pull #13896 at its head: ticked One rule decides the miss shape: machine prefixes answer {error, message, hint} JSON, file-like paths (add atom, webmanifest, md, svg, wasm) answer short no-store plain text, everything else keeps the page.; Every one of them carries the security floor.; A table test names a path of each kind and its status, type and size ceiling..
Sign in to join this conversation.
new above
offline
For: strangers and crawlers cost the forge nothing.
Seen on production:
/.well-known/agent.jsonanswers a 404text/htmlpage;/docs.atomanswers 404 JSON while/explore.jsonanswers 404 plain text and/manifest.jsonplain text.src/http/asset_miss.tslists extensions (xml|json|txt|js|css|map|png|ico) andMACHINE_PREFIX, and the two do not agree on.well-known,.atom,.webmanifest,.md.Done when:
Files: src/http/asset_miss.ts, the not-found handler it feeds, a test. Not the /assets routes in server.ts (that is #13848).