~bzr-pqm/bzr/bzr.dev

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
..
centralized_workflow.txt 1964.2.2 18 years ago John Arbash Meinel Adding a footnote to help understand nesting 11 KB Diff Download File
configuration.txt 1558.16.5 18 years ago Aaron Bentley Moy: change BZREMAIL to BZR_EMAIL 4.4 KB Diff Download File
default.css 1551.8.18 18 years ago Aaron Bentley Tweak font settings in stylesheet 1.7 KB Diff Download File
index.txt 1910.19.4 18 years ago Andrew Bennetts Add a doc on "Running a Bazaar Server" (Robert Col 1.4 KB Diff Download File
plugins.txt 1861.2.6 18 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 3 KB Diff Download File
README.1st 1861.2.6 18 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 904 bytes Diff Download File
server.txt 2018.1.10 18 years ago Andrew Bennetts Merge --allow-writes from Robert 2.6 KB Diff Download File
setting_up_email.txt 1861.2.6 18 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 3.4 KB Diff Download File
specifying_revisions.txt 1861.2.6 18 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 4.2 KB Diff Download File
tutorial.txt 1910.1.3 18 years ago Aaron Bentley Update NEWS and tutorial to describe merge --uncom 19.6 KB Diff Download File
using_aliases.txt 1861.2.6 18 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 1.8 KB Diff Download File
version_info.txt 2022.1.7 18 years ago John Arbash Meinel Add NEWS and a simple doc for using bzr version-in 2.1 KB Diff Download File