/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 breezy/tests/http_utils.py

  • Committer: Jelmer Vernooij
  • Date: 2018-09-11 03:12:02 UTC
  • mfrom: (7101 work)
  • mto: This revision was merged to the branch mainline in revision 7102.
  • Revision ID: jelmer@jelmer.uk-20180911031202-p2wpqy0xzx7wjmid
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
335
335
            scheme, raw_auth = auth_header.split(' ', 1)
336
336
            if scheme.lower() == tcs.auth_scheme:
337
337
                user, password = base64.b64decode(raw_auth).split(b':')
338
 
                return tcs.authorized(user, password)
 
338
                return tcs.authorized(user.decode('ascii'),
 
339
                                      password.decode('ascii'))
339
340
 
340
341
        return False
341
342