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

Method keep_alive

aiohttp/web_reqrep.py:244–249  ·  view source on GitHub ↗

Is keepalive enabled by client?

(self)

Source from the content-addressed store, hash-verified

242
243 @reify
244 def keep_alive(self):
245 """Is keepalive enabled by client?"""
246 if self.version < HttpVersion10:
247 return False
248 else:
249 return not self._message.should_close
250
251 @property
252 def match_info(self):

Callers 13

handle_requestMethod · 0.45
handle_requestMethod · 0.45
_responseMethod · 0.45
test_srv_keep_aliveFunction · 0.45
test_handle_errorFunction · 0.45
test_handle_error__utfFunction · 0.45
test_handle_400Function · 0.45
test_keep_aliveFunction · 0.45
test_keep_alive_http10Function · 0.45
handle_requestMethod · 0.45
handle_requestMethod · 0.45

Calls

no outgoing calls

Tested by 8

_responseMethod · 0.36
test_srv_keep_aliveFunction · 0.36
test_handle_errorFunction · 0.36
test_handle_error__utfFunction · 0.36
test_handle_400Function · 0.36
test_keep_aliveFunction · 0.36
test_keep_alive_http10Function · 0.36