http://code.google.com/p/web2py/issues/list

On Thursday, October 20, 2011 10:15:10 AM UTC-4, Grzegorz Śliwiński wrote:
>
> Where should I open the ticket? 
> I've read about google code somewhere here but can't find the link 
> neither on a web2py page nor here... 
>
> On Oct 20, 3:51 pm, Massimo Di Pierro <[email protected]> 
> wrote: 
> > Open a ticket this may be a bug 
> > 
> > On Oct 20, 7:05 am, Grzegorz ¦liwiñski <[email protected]> wrote: 
> > 
> > 
> > 
> > > Currently it's quite impossible to maintain custom error pages for 
> > > HTTP 404 and still keep the proper response code 
> > 
> > > If we redirect with routes_onerror we can get every error page dressed 
> > > in overall page layout, but the response code is 200 OK, which isn't 
> > > very good. 
> > 
> > > If we do not redirect, we could always set the body when raising 404 
> > > errors, but then you'd have to define routes for every controller and 
> > > action and direct catch all pattern to controller::action responsible 
> > > just for raising HTTP 404 error. 
> > 
> > > is there any solution to this problem, or plans on fixing it?

Reply via email to