/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
..
old 1185.82.3 20 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
serializer 1185.82.3 20 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
__init__.py 1910.2.66 19 years ago Aaron Bentley Fix copyright statements 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 1910.2.64 19 years ago Aaron Bentley Changes from review 27.6 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