[hunchentoot-devel] *http-error-handler* on IE 7.0 (http code 500)

Andrei Stebakov lispercat at gmail.com
Tue Apr 10 14:36:22 UTC 2007


(setf (return-code) +http-ok+) doesn't have any effect on IE 7.0 when I do
it inside my *http-error-handler*.
Is it possible to extract a *session* or *reply* from the user defined
*http-error-handler*?

Andrew

On 4/10/07, Edi Weitz <edi at agharta.de> wrote:
>
> 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.
> _______________________________________________
> tbnl-devel site list
> tbnl-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20070410/86d4636b/attachment.html>


More information about the Tbnl-devel mailing list