equal
deleted
inserted
replaced
188 orgsend(self, data) |
188 orgsend(self, data) |
189 |
189 |
190 return _sendfile |
190 return _sendfile |
191 |
191 |
192 |
192 |
193 has_https = util.safehasattr(urlreq, b'httpshandler') |
193 has_https = util.safehasattr(urlreq, 'httpshandler') |
194 |
194 |
195 |
195 |
196 class httpconnection(keepalive.HTTPConnection): |
196 class httpconnection(keepalive.HTTPConnection): |
197 # must be able to send big bundle as stream. |
197 # must be able to send big bundle as stream. |
198 send = _gen_sendfile(keepalive.HTTPConnection.send) |
198 send = _gen_sendfile(keepalive.HTTPConnection.send) |