equal
deleted
inserted
replaced
58 'SERVER_NAME': '127.0.0.1', |
58 'SERVER_NAME': '127.0.0.1', |
59 'SERVER_PORT': os.environ['HGPORT'], |
59 'SERVER_PORT': os.environ['HGPORT'], |
60 'SERVER_PROTOCOL': 'HTTP/1.0' |
60 'SERVER_PROTOCOL': 'HTTP/1.0' |
61 } |
61 } |
62 |
62 |
63 hgweb('.')(env, startrsp) |
63 i = hgweb('.') |
|
64 i(env, startrsp) |
64 print '---- ERRORS' |
65 print '---- ERRORS' |
65 print errors.getvalue() |
66 print errors.getvalue() |
|
67 print '---- OS.ENVIRON wsgi variables' |
|
68 print [x for x in os.environ if x.startswith('wsgi')] |
|
69 print '---- request.ENVIRON wsgi variables' |
|
70 print [x for x in i.repo.ui.environ if x.startswith('wsgi')] |
66 EOF |
71 EOF |
67 |
72 |
68 python request.py |
73 python request.py |