diff -r 97f44b0720e2 -r 02bea04b4c54 tests/test-largefiles-wireproto.t --- a/tests/test-largefiles-wireproto.t Sat Mar 10 20:16:20 2018 -0800 +++ b/tests/test-largefiles-wireproto.t Sat Mar 10 18:19:27 2018 -0800 @@ -424,7 +424,7 @@ > import base64 > from mercurial.hgweb import common > def perform_authentication(hgweb, req, op): - > auth = req.env.get('HTTP_AUTHORIZATION') + > auth = req.headers.get('Authorization') > if not auth: > raise common.ErrorResponse(common.HTTP_UNAUTHORIZED, 'who', > [('WWW-Authenticate', 'Basic Realm="mercurial"')])