python: add doc
This commit is contained in:
parent
1c5219952b
commit
7b7e020bea
|
@ -15,6 +15,7 @@ class MySPDYRequestHandler(spdylay.BaseSPDYRequestHandler):
|
||||||
|
|
||||||
def do_GET(self):
|
def do_GET(self):
|
||||||
if self.path == '/notfound':
|
if self.path == '/notfound':
|
||||||
|
# Example code to return error
|
||||||
self.send_error(404)
|
self.send_error(404)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue