News for hackers. Stuff that matters.
Re:Make your 404s into 302s by throwanem on Friday May 29, 2020 @08:48AM (#23349310)
Has had since 1997 at least, cf. https://tools.ietf.org/html/rfc2068 - it's just that nobody uses it.
Re:Make your 404s into 302s by OJFord on Friday May 29, 2020 @09:27AM (#23349714)
It's used in APIs, just not user-facing documents (or rather would-be documents). Too late for that though, while laymen pretty much get '404', introducing a subtly different numeric code to co-exist would be a bit much, I think. And also pretty worthless, anecdotally I think actually displaying big '404' text is on a downward trend, probably because of the prevalence of SPAs/webapps in general.
Re:Make your 404s into 302s by throwanem on Friday May 29, 2020 @09:45AM (#23349897)
Yeah, I mean, for the lay public to have to know what "404" means feels like a side effect of the early web being a frontier. What's important to tell the user is "there's nothing here", and that can and should be done without invoking any magic numbers at all.