Show More
@@ -84,7 +84,9 class wsgirequest(object): | |||
|
84 | 84 | self.header(headers) |
|
85 | 85 | |
|
86 | 86 | def wsgiapplication(app_maker): |
|
87 | '''For compatibility with old CGI scripts. A plain hgweb() or hgwebdir() | |
|
88 | can and should now be used as a WSGI application.''' | |
|
87 | 89 | application = app_maker() |
|
88 | 90 | def run_wsgi(env, respond): |
|
89 | application(env, respond) | |
|
91 | return application(env, respond) | |
|
90 | 92 | return run_wsgi |
General Comments 0
You need to be logged in to leave comments.
Login now