( )⚙ D3245 wsgiheaders: import a bytes-ified fork of wsgiref.headers from cpython@46f5072

This is an archive of the discontinued Mercurial Phabricator instance.

wsgiheaders: import a bytes-ified fork of wsgiref.headers from cpython@46f5072
ClosedPublic

Authored by durin42 on Apr 11 2018, 3:50 PM.

Details

Summary

This will let us restore Python 3 compatibility for tests that do http things.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Apr 11 2018, 3:50 PM
durin42 updated this revision to Diff 8014.Apr 11 2018, 4:42 PM
indygreg requested changes to this revision.Apr 12 2018, 11:37 AM
indygreg added a subscriber: indygreg.

Could you please separate the vendoring from the changes so we have a record of the patch that was made.

Also, do we want a license annotation?

This revision now requires changes to proceed.Apr 12 2018, 11:37 AM
indygreg accepted this revision.Apr 12 2018, 12:58 PM

I missed the commit in the commit message. I diffed locally and things look reasonable. I'm adding the original license/header back in flight (preserving our modifications as well).

This revision is now accepted and ready to land.Apr 12 2018, 12:58 PM
This revision was automatically updated to reflect the committed changes.