changeset 2464 | 09b1c9ef317c |
parent 2434 | a2df85adface |
child 2466 | e10665147d26 |
--- a/mercurial/hgweb/request.py Tue Jun 20 15:14:12 2006 -0700 +++ b/mercurial/hgweb/request.py Tue Jun 20 15:16:50 2006 -0700 @@ -18,6 +18,9 @@ self.form = cgi.parse(self.inp, self.env, keep_blank_values=1) self.will_close = True + def read(self, count=-1): + return self.inp.read(count) + def write(self, *things): for thing in things: if hasattr(thing, "__iter__"):