Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a GET method for / for better monitoring.

  • Loading branch information...
commit c8437a787d0477656604c56102c1ac06bbec2f38 1 parent 55d6638
Toby White authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 mail.py
4 mail.py
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.