diff --git a/lib/http/__init__.py b/lib/http/__init__.py index e8a355da6ee3f59b2c7ddb2bad01895435d7f44c..2a9f316dde321892fd14c53ebc44bbf602713633 100644 --- a/lib/http/__init__.py +++ b/lib/http/__init__.py @@ -72,6 +72,7 @@ _SSL_UNEXPECTED_EOF = "Unexpected EOF" # send/receive quantum SOCK_BUF_SIZE = 32768 + class HttpError(Exception): """Internal exception for HTTP errors. @@ -80,14 +81,6 @@ class HttpError(Exception): """ -class _HttpClientError(Exception): - """Internal exception for HTTP client errors. - - This should only be used for internal error reporting. - - """ - - class HttpSocketTimeout(Exception): """Internal exception for socket timeouts.