Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/request.py @ 2464:09b1c9ef317c
push over http: server support.
write "unbundle" verb for http.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Tue, 20 Jun 2006 15:16:50 -0700 |
parents | a2df85adface |
children | e10665147d26 |
line wrap: on
line diff
--- 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__"):