As part of building web applications, I sometimes return a "technical
failure" page to the web browser when something unexpected happens that
seems like the software's fault.
I'm wondering if it's the right thing to do to return a "500" error code
as part of the headers.
One reason to do this would be for better integration with a
Mechanize-based testing system.
Right now if I visit a "technical failure" page and then check
ok( $mech->success() )
It appears to "succeed", when in fact the result is more similar
to an "Internal Server Error" than a normal result page.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark Stosberg Principal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .