MCPcopy Index your code
hub / github.com/python/cpython / handle

Method handle

Lib/http/server.py:464–470  ·  view source on GitHub ↗

Handle multiple requests if necessary.

(self)

Source from the content-addressed store, hash-verified

462 return
463
464 def handle(self):
465 """Handle multiple requests if necessary."""
466 self.close_connection = True
467
468 self.handle_one_request()
469 while not self.close_connection:
470 self.handle_one_request()
471
472 def send_error(self, code, message=None, explain=None):
473 """Send and log an error reply.

Callers

nothing calls this directly

Calls 1

handle_one_requestMethod · 0.95

Tested by

no test coverage detected