mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-16 14:35:03 -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