Commit cbcd317
pit: a parked name is a page, not a 404
/n/<name> answered 404 when nobody held the name. The body was the right page
— the directory of what else lives under that ending — but the status said the
URL had nothing at it.
It does have something. This is the parking page every resolver and the
browser extension send unpointed names to; it is the answer, not the absence
of one. A 404 makes a working page read as broken to the browser, to a link
checker, and to anything that looks at the status before the body.
A malformed name still gets 400: `not-a-name` is not one label and one ending,
and there is no page for it to be.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 409d5f5 commit cbcd317
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
236 | 241 | | |
237 | 242 | | |
238 | 243 | | |
| |||
0 commit comments