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 close-is-end body instead of counting
off a certain number of bytes.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHGe320d9405bba: hgweb: put response headers back into str for Python 3
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
A low-level WSGI API that literally puts data on the wire uses Unicode. Because Python 3. Sadness.