This is an archive of the discontinued Mercurial Phabricator instance.

wsgicgi: un-do some prior porting work that is now wrong
ClosedPublic

Authored by durin42 on Apr 14 2018, 12:32 AM.

Details

Summary

The Python 3 WSGI behavior is that the environ dict should be full of
unicodes. We previously tried Too Hard here, so we unwind that bit of porting.

Also add some bytesurl() encodes on status and headers.

test-clone-cgi.t now passes.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durin42 created this revision.Apr 14 2018, 12:32 AM
durin42 updated this revision to Diff 8271.Apr 14 2018, 10:41 AM
durin42 updated this revision to Diff 8315.Apr 16 2018, 4:17 PM
indygreg accepted this revision.Apr 16 2018, 7:15 PM
This revision is now accepted and ready to land.Apr 16 2018, 7:15 PM
This revision was automatically updated to reflect the committed changes.