D887: httppeer: use native strings for headers

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Sat Oct 14 07:37:49 EDT 2017


yuja added inline comments.

INLINE COMMENTS

> durin42 wrote in httppeer.py:240
> Turns out urlencode already copes with bytes input even on Python 3. A small victory.

Nice. So we have to concatenate bytes url and bytes qs, then covert the result to unicode.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D887

To: durin42, #hg-reviewers, yuja
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list