Commit 78cca542 authored by Sam Rushing's avatar Sam Rushing

HTTP_Protocol_Error: derive from Exception

HTTP_Upgrade: new exception
parent 822b028c
...@@ -5,7 +5,11 @@ from coro import read_stream ...@@ -5,7 +5,11 @@ from coro import read_stream
W = coro.write_stderr W = coro.write_stderr
class HTTP_Protocol_Error: class HTTP_Protocol_Error (Exception):
pass
class HTTP_Upgrade (Exception):
"indicates a connection has left the HTTP universe"
pass pass
# candidate for sync.pyx? # candidate for sync.pyx?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment