~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4307.4.3.

  • 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: