mirror of
https://github.com/mirror/wget.git
synced 2026-09-01 12:27:58 +08:00
* 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
|