Skip to content
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.

Commit

Permalink
Add a GET method for / for better monitoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby White committed Jul 8, 2010
1 parent 55d6638 commit c8437a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mail.py
Expand Up @@ -99,6 +99,10 @@ def parse_args(request):


class SendMail(RequestHandler):
def get(self):
# Just so that we can pingdom it to see if it's up.
return

def post(self):
try:
msg = parse_args(self.request)
Expand Down

0 comments on commit c8437a7

Please sign in to comment.