Revision 13b63666 lib/http/__init__.py
b/lib/http/__init__.py | ||
---|---|---|
72 | 72 |
# send/receive quantum |
73 | 73 |
SOCK_BUF_SIZE = 32768 |
74 | 74 |
|
75 |
|
|
75 | 76 |
class HttpError(Exception): |
76 | 77 |
"""Internal exception for HTTP errors. |
77 | 78 |
|
... | ... | |
80 | 81 |
""" |
81 | 82 |
|
82 | 83 |
|
83 |
class _HttpClientError(Exception): |
|
84 |
"""Internal exception for HTTP client errors. |
|
85 |
|
|
86 |
This should only be used for internal error reporting. |
|
87 |
|
|
88 |
""" |
|
89 |
|
|
90 |
|
|
91 | 84 |
class HttpSocketTimeout(Exception): |
92 | 85 |
"""Internal exception for socket timeouts. |
93 | 86 |
|
Also available in: Unified diff