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.send |
|
97 | connection.send(self, chunk) | |
98 | else: |
|
98 | else: | |
99 |
connection.send |
|
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