mercurial/wireprotov2peer.py
changeset 43554 9f70512ae2cf
parent 43077 687b865b95ad
equal deleted inserted replaced
43553:47fac1692ede 43554:9f70512ae2cf
   470                     b'content redirects not supported)\n'
   470                     b'content redirects not supported)\n'
   471                 )
   471                 )
   472             )
   472             )
   473 
   473 
   474         headers = {
   474         headers = {
   475             r'Accept': redirect.mediatype,
   475             'Accept': redirect.mediatype,
   476         }
   476         }
   477 
   477 
   478         req = self._requestbuilder(pycompat.strurl(redirect.url), None, headers)
   478         req = self._requestbuilder(pycompat.strurl(redirect.url), None, headers)
   479 
   479 
   480         try:
   480         try: