Closed bastien-roucaries closed 2 years ago
Right now, a warning is written to stderr when an invalid path is requested, and a 404 Error page is served. Do you suggest to suppress the error page, and not respond anything, just close the connection when 404 would be the response?
You are right removed the bad advice
Good advice will be to return
But it is superlow priority
Or better return pure html5 and use import from 404.html https://www.html5rocks.com/en/tutorials/webcomponents/imports/
From the linked site:
HTML Imports are deprecated and was removed from Chrome in February 2020.
ultra low priority some admin prefer to redirect 404 to something else for security point of view