There are some times when I'd like my site to trigger a 408-response (for when various pieces aren't responsive). (PHP 5.3.3 and Apache, both Windows and Linux machines)
I can use the following code and get the expected result in all browsers except Firefox:
<?php
// Access forbidden:
header('HTTP/1.1 408 Request Timeout',true,408);
echo 'hi';exit;
But Firefox just immediately sends the "The connection was reset" page, and Firebug shows it got the 408 message. Is this by design in Firefox, or is there some way around this?