Forum Discussion
Colin_Walker_12
Jan 25, 2011Historic F5 Account
It indeed sounds like a bug or questionable behavior in FireFox that is preventing you from displaying the desired status code (408: Request timed out) page. If you want to go the rewrite route it shouldn't be terribly hard, you'd just have to change the switch a little bit:
switch -glob $respStatus {
400 -
401 -
403 -
404 -
500 -
503 { HTTP::respond $respStatus content $err($respStatus) }
408 { HTTP::respond 400 content $err($respStatus)}
}
This would of course make your 408s return as 400s, but the user would get the appropriate message since you're custom formatting that anyway. The browser would just read the response as a 400 and likely stop giving the error you're seeing.
I'm not sure if that's a viable solution or not, but it would likely work around the problem.
Colin