##// END OF EJS Templates
Backed out changeset 91ac1726730a
Bryan O'Sullivan -
r6291:c92cf92c default
parent child Browse files
Show More
@@ -94,9 +94,9 b' def _gen_sendfile(connection):'
94 # if auth required, some data sent twice, so rewind here
94 # if auth required, some data sent twice, so rewind here
95 data.seek(0)
95 data.seek(0)
96 for chunk in util.filechunkiter(data):
96 for chunk in util.filechunkiter(data):
97 connection.sendall(self, chunk)
97 connection.send(self, chunk)
98 else:
98 else:
99 connection.sendall(self, data)
99 connection.send(self, data)
100 return _sendfile
100 return _sendfile
101
101
102 class httpconnection(keepalive.HTTPConnection):
102 class httpconnection(keepalive.HTTPConnection):
General Comments 0
You need to be logged in to leave comments. Login now