Export to GitHub

django-atompub - issue #8

"Feed does not exist" Error should be 404, not 500


Posted on Jun 19, 2008 by Happy Dog

Imho the LookupError "Feed does not exist" should be handled as a 404 Error, since the Client (or Bots) can simple type in a wrong URL and its not djangos fault.

I have a feed at /blog/feeds/latest/ and I get error reports from my server that someone (an evil bot) has accessed something like that: /blog/feeds/latest/chupeta/admin/manda/include_path=http://tugaspeed.info/ooid.txt/

Its not realy a danger, but I get spamed with useless error messages from my server :)

Comment #1

Posted on Nov 17, 2008 by Helpful Ox

(No comment was entered for this change.)

Comment #2

Posted on Nov 17, 2008 by Helpful Ox

(No comment was entered for this change.)

Comment #3

Posted on Nov 17, 2008 by Helpful Ox

(No comment was entered for this change.)

Status: Accepted

Labels:
Type-Defect Priority-Medium Component-Format