equal
deleted
inserted
replaced
69 pass |
69 pass |
70 |
70 |
71 def groupchunks(self, fh): |
71 def groupchunks(self, fh): |
72 return iter(lambda: fh.read(4096), '') |
72 return iter(lambda: fh.read(4096), '') |
73 |
73 |
|
74 def compresschunks(self, chunks): |
|
75 for chunk in chunks: |
|
76 yield chunk |
|
77 |
74 def sendresponse(self, v): |
78 def sendresponse(self, v): |
75 self.fout.write("%d\n" % len(v)) |
79 self.fout.write("%d\n" % len(v)) |
76 self.fout.write(v) |
80 self.fout.write(v) |
77 self.fout.flush() |
81 self.fout.flush() |
78 |
82 |