mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
b7b6d7fd89
* testenv/exc/server_error.py: Try writing file content for GET request even if there is a Response rule present. * testenv/server/http/http_server.py: Likewise.
11 lines
258 B
Python
11 lines
258 B
Python
|
|
class ServerError (Exception):
|
|
""" A custom exception which is raised by the test servers. Often used to
|
|
handle control flow. """
|
|
|
|
def __init__ (self, err_message):
|
|
self.err_message = err_message
|
|
|
|
class AuthError (ServerError):
|
|
pass
|