diff --git a/src/zope/testbrowser/headers.txt b/src/zope/testbrowser/headers.txt index f459dcf..59c9bb2 100644 --- a/src/zope/testbrowser/headers.txt +++ b/src/zope/testbrowser/headers.txt @@ -14,7 +14,7 @@ library): The headers can be accessed as a string: >>> print browser.headers - Server: BaseHTTP/0.3 Python/2.4.4 + Server: BaseHTTP Date: Mon, 17 Sep 2007 10:05:42 GMT Connection: close Content-type: text/html diff --git a/src/zope/testbrowser/tests.py b/src/zope/testbrowser/tests.py index 88ee832..5d46ac7 100644 --- a/src/zope/testbrowser/tests.py +++ b/src/zope/testbrowser/tests.py @@ -43,6 +43,9 @@ class TestHandler(BaseHTTPServer.BaseHTTPRequestHandler): + def version_string(self): + return 'BaseHTTP' + def date_time_string(self): return 'Mon, 17 Sep 2007 10:05:42 GMT'