/brz/remove-bazaar

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

  • Committer: v.ladeuil+lp at free
  • Date: 2006-10-04 14:42:05 UTC
  • mto: (2145.1.1 keepalive)
  • Revision ID: v.ladeuil+lp@free.fr-20061004144205-6a7496410b893ab1
Add tests against erroneous http status lines.

* bzrlib/transport/http/_urllib2_wrappers.py:
(Response.begin): In some subtle cases we MUST not try to read the
response body.
(AbstractHTTPConnection.strict): Do not try to support HTTP/0.9 or we
may fail to detect bad status lines.
(AbstractHTTPHandler.do_open): Translate BasStatusLine into
InvalidHttpResponse and don't retry in that case.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport.has): 

* bzrlib/transport/http/__init__.py:
(BadStatusRequestHandler, InvalidStatusRequestHandler): New classes.

* bzrlib/tests/test_http.py:
(TestBadStatusServer.create_transport_server,
TestBadStatusServer_urllib, TestBadStatusServer_pycurl,
TestInvalidStatusServer, TestInvalidStatusServer_urllib,
TestInvalidStatusServer_pycurl): New classes.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 1986.1.3 19 years ago Robert Collins Merge bzr.dev. 3.5 KB Diff Download File
test_basis_inventory.py 1910.2.47 19 years ago Aaron Bentley Merge bzr.dev 4.2 KB Diff Download File
test_break_lock.py 1687.1.15 19 years ago Robert Collins Review comments. 2.8 KB Diff Download File
test_changes_from.py 1852.9.6 19 years ago Robert Collins Merge the change from Tree.compare to Tree.changes 2.2 KB Diff Download File
test_commit.py 1908.7.11 19 years ago Robert Collins Merge bzr.dev and undeprecated WorkingTree.last_re 9.8 KB Diff Download File
test_executable.py 1908.7.6 19 years ago Robert Collins Deprecate WorkingTree.last_revision. 6.4 KB Diff Download File
test_get_parent_ids.py 1908.7.7 19 years ago Robert Collins Deprecated WorkingTree.pending_merges. 2.4 KB Diff Download File
test_is_control_filename.py 1773.4.1 19 years ago Martin Pool Add pyflakes makefile target; fix many warnings 1.7 KB Diff Download File
test_is_ignored.py 1836.1.31 19 years ago John Arbash Meinel Make set_user_ignores a private function, and upda 7.8 KB Diff Download File
test_locking.py 1957.1.17 19 years ago John Arbash Meinel Change tests that expect locking to fail to timeou 9.5 KB Diff Download File
test_merge_from_branch.py 1979.2.1 19 years ago Robert Collins (robertc) adds a convenience method "merge_from_br 2.2 KB Diff Download File
test_mkdir.py 1986.1.2 19 years ago Robert Collins Various changes to allow non-workingtree specific 1.3 KB Diff Download File
test_parents.py 1908.7.11 19 years ago Robert Collins Merge bzr.dev and undeprecated WorkingTree.last_re 9.3 KB Diff Download File
test_pull.py 1908.7.6 19 years ago Robert Collins Deprecate WorkingTree.last_revision. 2.2 KB Diff Download File
test_put_file.py 1986.1.2 19 years ago Robert Collins Various changes to allow non-workingtree specific 1.5 KB Diff Download File
test_unversion.py 1988.2.3 19 years ago Robert Collins Merge in commit test case for deletion-heuristic. 3.1 KB Diff Download File
test_workingtree.py 1908.7.11 19 years ago Robert Collins Merge bzr.dev and undeprecated WorkingTree.last_re 27.7 KB Diff Download File