tests/test-largefiles-wireproto.t
changeset 36877 02bea04b4c54
parent 36760 7bf80d9d9543
child 37348 f4e84dfc06fd
--- 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"')])