-
Committer:
Vincent Ladeuil
-
Date:
2009-02-25 19:24:44 UTC
-
mto:
(4055.1.1 bzr.integration)
-
mto:
This revision was merged to the branch mainline in
revision
4057.
-
Revision ID:
v.ladeuil+lp@free.fr-20090225192444-az73q3t73x8ti6bi
Ensures all auth handlers correctly parse all auth headers.
* bzrlib/tests/test_http.py:
(TestAuthHeader): Test for all known auth schemes.
* bzrlib/transport/http/_urllib2_wrappers.py:
(AbstractAuthHandler._parse_auth_header): All handlers should be
able to parse any header, they may as well share the
implementation.
(NegotiateAuthHandler.auth_match, BasicAuthHandler.auth_match,
DigestAuthHandler.auth_match): JFDI.