/brz/remove-bazaar

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

Connection sharing, with redirection. without authentification.

* bzrlib/transport/http/_urllib.py:
(Request): Deleted. The _urllib2 version is shiniest.
(HttpTransport_urllib): Share connections.
(HttpTransport_urllib._perform): New method.
(HttpTransport_urllib._get): Takes the _urllib2_wrappers into
account.
(HttpTransport_urllib._get_url_impl): Deleted.
(HttpTransport_urllib._head): New method.
(HttpTransport_urllib.has): Takes the _urllib2_wrappers into
account.
(HttpTransport_urllib.copy_to, HttpTransport_urllib.move,
HttpTransport_urllib.delete): Deleted. Were carbon copies of
HttpTransportBase.

* bzrlib/tests/test_http.py:
(TestHttpConnections_urllib.test_has_on_bogus_host): The timeout
was too high, at least on Mac OS X 10.3 the test was taking a
whole *minute*. Also, the new implementation raise a nice
ConnectionError.

* bzrlib/errors.py:
(ConnectionError): Don't don't repeat ConnectionError.

* bzrlib/transport/http/_urllib2_wrappers.py: 
New file. Wrappers around urllib2 framework.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 1 KB Diff Download File
autodoc_bash_completion.py 1861.2.8 19 years ago Alexander Belchenko More branding: bazaar-ng -> Bazaar; bazaar-ng.org 1.5 KB Diff Download File
autodoc_man.py 1857.1.19 19 years ago Aaron Bentley Merge bzr.dev 6.3 KB Diff Download File
autodoc_rstx.py 1558.16.5 19 years ago Aaron Bentley Moy: change BZREMAIL to BZR_EMAIL 6.3 KB Diff Download File