D3248: hgweb: put response headers back into str for Python 3

2018-04-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe320d9405bba: hgweb: put response headers back into str for Python 3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3248?vs=

D3248: hgweb: put response headers back into str for Python 3

2018-04-12 Thread indygreg (Gregory Szorc)
indygreg accepted this revision. indygreg added a comment. This revision is now accepted and ready to land. A low-level WSGI API that literally puts data on the wire uses Unicode. Because Python 3. Sadness. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3248 To

D3248: hgweb: put response headers back into str for Python 3

2018-04-11 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This fixes a lot of hanging tests on Python 3, because "Content-Length" was getting sent as "b'Content-Length'" (yes, really) and then clients would expect a clo