[hunchentoot-devel] *http-error-handler* on IE 7.0 (http code 500)
Edi Weitz
edi at agharta.de
Tue Apr 10 14:15:10 UTC 2007
On Tue, 10 Apr 2007 09:54:39 -0400, "Andrei Stebakov" <lispercat at gmail.com> wrote:
> When I use the *http-error-handler* it works fine on Firefox
> displaying my message and doing some extra job. On IE it says "Can
> not display page" and shows the HTTP 500 code.
Yes, that seems to be a deliberate design decision of Microsoft.
> I guess I need to filter out the http status code 500 and replace it
> for status ok somewhere. How can I replace the status code or fix
> the page in IE?
http://weitz.de/hunchentoot/#return-code
> BTW, when I use (redirect) inside of some of my handlers call I also get to
> the *http-error-handler*. I guess the proper thing to do is to add
> +http-moved-temporarily+ into the *approved-return-codes*.
As long as you don't change the return code and the "Location" header
it shouldn't matter.
More information about the Tbnl-devel
mailing list