/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
..
old 1185.82.3 19 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
serializer 1185.82.3 19 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
__init__.py 1793.4.1 19 years ago John Arbash Meinel Handle the SFTP exception that you can't read() fr 2 KB Diff Download File
apply_bundle.py 1793.2.2 19 years ago Aaron Bentley Move BundleReader into v07 serializer 1.9 KB Diff Download File
bundle_data.py 1963.2.6 19 years ago Robey Pointer pychecker is on crack; go back to using 'is None'. 27.4 KB Diff Download File
commands.py 1948.4.29 19 years ago John Arbash Meinel Remove a few more direct references to RevisionSpe 6.1 KB Diff Download File
common.py 1793.3.8 19 years ago John Arbash Meinel Removed duplicated highres date code. 362 bytes Diff Download File