~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2008-05-18 13:59:54 UTC
  • mto: (3431.2.1 trunk)
  • Revision ID: v.ladeuil+lp@free.fr-20080518135954-o8v3f69soqztpg0f
Fix #230223 by making both http implementations raise appropriate exceptions.

* _urllib2_wrappers.py:
(HTTPDefaultErrorHandler.http_error_default): Fix the spelling
error and also mentioned the url.

* _urllib.py:
(HttpTransport_urllib._post): Since the error handling differs from
pycurl and we are used only by the smart client, treats 403 as a
SmartProtocolError,

* _pycurl.py:
(PyCurlTransport._raise_curl_http_error): Fix the spelling error and
also mentioned the url.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 3302.9.28 16 years ago Vincent Ladeuil merge bzr.dev 7.5 KB Diff Download File
test_fetch.py 3350.3.21 16 years ago Robert Collins Merge bzr.dev. 8.6 KB Diff Download File
test_interrepository.py 3350.3.21 16 years ago Robert Collins Merge bzr.dev. 10.2 KB Diff Download File