/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
..
diff 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 45.4 KB Diff Download File
diff-2 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 270 bytes Diff Download File
diff-3 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 204 bytes Diff Download File
diff-4 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 223 bytes Diff Download File
diff-5 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 4.9 KB Diff Download File
diff-6 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18.7 KB Diff Download File
insert_top.patch 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 130 bytes Diff Download File
mod 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 91.9 KB Diff Download File
mod-2 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18.1 KB Diff Download File
mod-3 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18.1 KB Diff Download File
mod-4 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18 KB Diff Download File
mod-5 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 13.5 KB Diff Download File
mod-6 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 22 bytes Diff Download File
orig 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 97.8 KB Diff Download File
orig-2 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18 KB Diff Download File
orig-3 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18.1 KB Diff Download File
orig-4 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18 KB Diff Download File
orig-5 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18 KB Diff Download File
orig-6 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18 KB Diff Download File
patchtext.patch 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 988 bytes Diff Download File