Firefox doesn't display error message if no page content

(Zach) #1

Go to a page that returns no content but returns a status header; for example, in nodejs:

require('http').createServer(function (req, res) {

When you go to the page in firefox, it just displays a blank page, but if you go to the page in chrome or etc, it displays an error message.

(jscher2000) #2

I don’t run node, but this PHP causes the same:


It may not be a common situation, but showing the 404 page would be more user-friendly than a blank page.