python: add doc

This commit is contained in:
Tatsuhiro Tsujikawa 2012-08-24 01:25:42 +09:00
parent 1c5219952b
commit 7b7e020bea
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ class MySPDYRequestHandler(spdylay.BaseSPDYRequestHandler):
def do_GET(self):
if self.path == '/notfound':
# Example code to return error
self.send_error(404)
return