( )⚙ D10204 wsgicgi: switch the default PATH_INFO back to str

This is an archive of the discontinued Mercurial Phabricator instance.

wsgicgi: switch the default PATH_INFO back to str
ClosedPublic

Authored by mharbison72 on Mar 13 2021, 2:33 PM.

Details

Summary

It looks like everything here is meant to be str, and regressed in 687b865b95ad.
Pytype didn't flag this, but is really confused about the range of possible
types for the dictionary values, and flagged missing lower() on various types
in this area.

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.