On Tue, Apr 05, 2005 at 01:13:53PM +0000, Mark Stosberg wrote: > 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.
Generally, yes, IMO. The client doesn't care whether the error came from the server itself or the web application or something in between. Andrew