(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@agharta.de wrote:
On Tue, 10 Apr 2007 09:54:39 -0400, "Andrei Stebakov" lispercat@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@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel