Commit 82b218f
authored
bpo-44647: Fix test_httpservers failing on Unicode characters in os.environ on Windows (pythonGH-27161)
pythonGH-23638 introduced a new test for Accept: headers in CGI HTTP servers. This test serializes all of os.environ on the server side. For non-UTF8 locales this can fail for some Unicode characters found in environment variables. This change fixes the HTTP_ACCEPT test.1 parent a86f7da commit 82b218f
1 file changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
| 596 | + | |
| 597 | + | |
597 | 598 | | |
598 | | - | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
599 | 608 | | |
600 | 609 | | |
601 | 610 | | |
| |||
850 | 859 | | |
851 | 860 | | |
852 | 861 | | |
853 | | - | |
854 | | - | |
| 862 | + | |
| 863 | + | |
855 | 864 | | |
856 | 865 | | |
857 | 866 | | |
| |||
0 commit comments