/brz/remove-bazaar

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

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Vincent Ladeuil
  • Date: 2009-05-04 15:21:26 UTC
  • mto: (4349.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4350.
  • Revision ID: v.ladeuil+lp@free.fr-20090504152126-13juy7bmikof23xc
Tighten multiple auth schemes handling.

* bzrlib/transport/http/_urllib2_wrappers.py:
(AbstractAuthHandler): Add a 'scheme' attribute to identify the
handlers.
(AbstractAuthHandler.auth_required): Once the most secured scheme
is known to be proposed by the server, the other handlers should
not be tried.

Show diffs side-by-side

added added

removed removed

Lines of Context: