diff -r 6ab016edd5c4 -r 09b1c9ef317c mercurial/hgweb/request.py --- 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__"):