MCPcopy
hub / github.com/benoitc/gunicorn / can_sendfile

Method can_sendfile

gunicorn/http/wsgi.py:444–445  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

442 util.write(self.sock, arg, self.chunked)
443
444 def can_sendfile(self):
445 return self.cfg.sendfile is not False
446
447 def sendfile(self, respiter):
448 if self.cfg.is_ssl or not self.can_sendfile():

Callers 1

sendfileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected