On 11/4/05, Jeff Grimmett <[EMAIL PROTECTED]> wrote:
> On 11/4/05, Jeff Watkins <[EMAIL PROTECTED]> wrote:
> >
> > Just before rendering your template, set the response status:
> cherrypy.response.status=404
>
> That works pretty well, though any images (etc) on the page get sent with a
> 200 response code. I'm guessing this is OK since the URL requested actually
> gets 404'd; any process or spider should then move along.

This is the correct behavior. Images are requested separately by the
browser, and *those* requests are for good resources that exist, so
those requests should be 200s.

Kevin

Reply via email to