Browse files

Add a GET method for / for better monitoring.

  • Loading branch information...
1 parent 55d6638 commit c8437a787d0477656604c56102c1ac06bbec2f38 Toby White committed Jul 8, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 mail.py
View
4 mail.py
@@ -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)

0 comments on commit c8437a7

Please sign in to comment.