Show More
@@ -65,7 +65,7 b' by the WSGI standard and strictly implem' | |||
|
65 | 65 | > 'SERVER_PROTOCOL': 'HTTP/1.0' |
|
66 | 66 | > } |
|
67 | 67 | > |
|
68 | > i = hgweb('.') | |
|
68 | > i = hgweb(b'.') | |
|
69 | 69 | > for c in i(env, startrsp): |
|
70 | 70 | > pass |
|
71 | 71 | > print('---- ERRORS') |
@@ -74,7 +74,7 b' by the WSGI standard and strictly implem' | |||
|
74 | 74 | > print(sorted([x for x in os.environ if x.startswith('wsgi')])) |
|
75 | 75 | > print('---- request.ENVIRON wsgi variables') |
|
76 | 76 | > with i._obtainrepo() as repo: |
|
77 | > print(sorted([x for x in repo.ui.environ if x.startswith('wsgi')])) | |
|
77 | > print(sorted([x for x in repo.ui.environ if x.startswith(b'wsgi')])) | |
|
78 | 78 | > EOF |
|
79 | 79 | $ $PYTHON request.py |
|
80 | 80 | ---- STATUS |
General Comments 0
You need to be logged in to leave comments.
Login now