durusmail: quixote-users: 404 - "not found" instead of specific error messages
404 - "not found" instead of specific error messages
2002-06-09
2002-06-09
2002-06-10
404 - "not found" instead of specific error messages
Thomas Dartsch
2002-06-09
Hi,

I'm doing my first experiments with Quixote-20020604 with Apache 1.3.24 on
Win2000.
I'm considering using it for our intranet site and I like it very much so
far - indeed very
pythonic.

Now my problem: whenever I made a mistake (forgetting a _q_export list or
so),
in only got the generic 404 - "not found" message of my browser (IE6).
The specific messages that Quixote generates to support error diagnostics
were not shown. I don't know, if the browser is "right" to ignore the body
of
the http response, if the status is != 400, but so he does.

So I had to uncomment the line
   request.response.set_status(exc.status_code)
in finish_interrupted_request() to see these messages.

Is there a better way to solve this problem?

Greetings,
Thomas










reply