Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/request.py @ 2535:b8ccf6386db7
Arrange for old copies of CGI scripts to still work.
author | Eric Hopper <hopper@omnifarious.org> |
---|---|
date | Thu, 29 Jun 2006 19:06:18 -0700 |
parents | 419c42223bee |
children | 345bac2bc4ec |
comparison
equal
deleted
inserted
replaced
2534:d5a3cc6520d5 | 2535:b8ccf6386db7 |
---|---|
46 self.run_once = wsgienv['wsgi.run_once'] | 46 self.run_once = wsgienv['wsgi.run_once'] |
47 self.env = wsgienv | 47 self.env = wsgienv |
48 self.form = cgi.parse(self.inp, self.env, keep_blank_values=1) | 48 self.form = cgi.parse(self.inp, self.env, keep_blank_values=1) |
49 self.start_response = start_response | 49 self.start_response = start_response |
50 self.headers = [] | 50 self.headers = [] |
51 destination.run(self) | 51 destination.run_wsgi(self) |
52 | 52 |
53 def __iter__(self): | 53 def __iter__(self): |
54 return iter([]) | 54 return iter([]) |
55 | 55 |
56 def read(self, count=-1): | 56 def read(self, count=-1): |