MCPcopy
hub / github.com/aio-libs/aiohttp / patch_sendfile

Method patch_sendfile

tests/test_web_functional.py:1110–1115  ·  view source on GitHub ↗
(self, add_static)

Source from the content-addressed store, hash-verified

1108 unittest.TestCase):
1109
1110 def patch_sendfile(self, add_static):
1111 def f(*args, **kwargs):
1112 route = add_static(*args, **kwargs)
1113 route._sendfile = route._sendfile_system
1114 return route
1115 return f

Callers 1

create_serverMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected