/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

Better (but still incomplete) design for bogus servers.

* bzrlib/transport/http/_urllib2_wrappers.py:
(AbstractHTTPHandler): Add 'Accept: */*' again to default headers
until I fully understand why and when it's needed or not (curl add
it if no Accept header is present).

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport._curl_perform): CURLE_GOT_NOTHING may be
considered as a ConnectionError, inspection of curl code reveals
that the case is sufficiently rare and low level related to not be
considered an http error per se.

* bzrlib/transport/http/__init__.py:
(WallHttpServer): Deleted.

* bzrlib/tests/test_http.py:
(TestBogusServer): Factor out the tests common to the bogus
servers.

* bzrlib/tests/__init__.py:
(TestCaseWithTransport.create_transport_server,
TestCaseWithTransport.create_transport_readonly_server): New
methods, allows test cases to specify the transport servers
without defining useless classes.
(TestCaseWithTransport.get_readonly_server): Use
create_transport_readonly_server.
(TestCaseWithTransport.get_server): Use create_transport_server.

* bzrlib/tests/HTTPTestUtil.py:
(TestCaseWithWebserver): Fix typo in doc string.
(TestCaseWithWallserver): Deleted.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 51 bytes Diff Download File
bazaar.url 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 109 bytes Diff Download File
bzr-win32-bdist-postinstall.py 1861.2.22 19 years ago Alexander Belchenko minor polishing after review 4.9 KB Diff Download File
bzr.iss.cog 1861.2.9 19 years ago Alexander Belchenko rename gpl.txt => COPYING.txt 3.4 KB Diff Download File
bzr_postinstall.py 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 9 KB Diff Download File
file_version.py 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 909 bytes Diff Download File
ostools.py 1861.2.18 19 years ago Alexander Belchenko Makefile: cross-platform actions for building inst 1.8 KB Diff Download File
start_bzr.bat 1861.2.6 19 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 960 bytes Diff Download File