mirror of
https://github.com/moparisthebest/spdylay
synced 2024-12-22 07:38:52 -05:00
python: add doc
This commit is contained in:
parent
1c5219952b
commit
7b7e020bea
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user