~bzr-pqm/bzr/bzr.dev

Test ConnectionError exceptions.

* bzrlib/transport/http/_urllib2_wrappers.py
(AbstractHTTPConnection.getresponse): Not needed anymore.
(AbstractHTTPHandler.do_open): Better exception handling.
(HTTPBasicAuthHandler): Not yet implemented.

* bzrlib/transport/http/_urllib.py: 
Fix spurious spaces.

* bzrlib/transport/http/__init__.py:
(WallRequestHandler, WallHttpServer): A http server closing
connections as soon as a request arrives.

* bzrlib/tests/test_http.py:
(TestWallServer): Check exceptions during connection.

* bzrlib/tests/HTTPTestUtil.py:
(TestCaseWithWallserver): New class. A server which close
connections as soon as possible.
Filename Latest Rev Last Changed Committer Comment Size
..
docs 1185.12.49 19 years ago Aaron Bentley Switched to ConfigObj Diff
__init__.py 1185.12.49 19 years ago Aaron Bentley Switched to ConfigObj Empty Diff Download File
configobj.py 1963.2.6 18 years ago Robey Pointer pychecker is on crack; go back to using 'is None'. 114 KB Diff Download File