Show More
@@ -94,9 +94,9 b' def _gen_sendfile(connection):' | |||
|
94 | 94 | # if auth required, some data sent twice, so rewind here |
|
95 | 95 | data.seek(0) |
|
96 | 96 | for chunk in util.filechunkiter(data): |
|
97 | connection.send(self, chunk) | |
|
97 | connection.sendall(self, chunk) | |
|
98 | 98 | else: |
|
99 | connection.send(self, data) | |
|
99 | connection.sendall(self, data) | |
|
100 | 100 | return _sendfile |
|
101 | 101 | |
|
102 | 102 | class httpconnection(keepalive.HTTPConnection): |
General Comments 0
You need to be logged in to leave comments.
Login now