Just before rendering your template, set the response status: cherrypy.response.status=404On 3 Nov, 2005, at 11:12 pm, Jeff Grimmett wrote: I'm a little confused on error handling in TG versus CherryPy itself. The CP site has a few examples of how to ensure that a 404 response is sent for a page that does not exist, but it looks like it would conflict with the use of Kid templates to generate a 'custom' 404 page. -- Jeff Watkins "Advertising directed at children is inherently deceptive and exploits children under eight years of age." -- American Academy of Pediatrics |
- [TurboGears] Re: Returning a 404 response Lee McFadden
- [TurboGears] Re: Returning a 404 response Sean Cazzell
- [TurboGears] Re: Returning a 404 response Jeff Watkins
- [TurboGears] Re: Returning a 404 respons... Jeff Grimmett
- [TurboGears] Re: Returning a 404 res... Kevin Dangoor
- [TurboGears] Re: Returning a 404 response Kevin Dangoor
- [TurboGears] Re: Returning a 404 respons... Jeff Grimmett
- [TurboGears] Re: Returning a 404 respons... Jeff Grimmett
- [TurboGears] Re: Returning a 404 res... Kevin Dangoor
- [TurboGears] Re: Returning a 404... Jeff Grimmett
- [TurboGears] Re: Returning a 404... Toke Høiland-Jørgensen
- [TurboGears] Re: Returning ... Ronald Jaramillo
- [TurboGears] Re: Return... Toke Høiland-Jørgensen

