Skip to content

Commit

Permalink
Handle the ?p=favicon.ico special case.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchucho committed Nov 17, 2008
1 parent d54f6b9 commit 94b7486
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.py
Expand Up @@ -30,6 +30,9 @@ def get(self):

if not place_name:
raise InvalidPlace(" ")
elif place_name == "favicon.ico":
""" This happens so often, it's annoying. """
self.response.set_status(204)
else:
place_name = urllib2.unquote(place_name)
p = memcache.get(self.PLACE_KEY % place_name)
Expand Down

0 comments on commit 94b7486

Please sign in to comment.