MCPcopy Index your code
hub / github.com/RustPython/RustPython / handle

Method handle

Lib/http/server.py:492–498  ·  view source on GitHub ↗

Handle multiple requests if necessary.

(self)

Source from the content-addressed store, hash-verified

490 return
491
492 def handle(self):
493 """Handle multiple requests if necessary."""
494 self.close_connection = True
495
496 self.handle_one_request()
497 while not self.close_connection:
498 self.handle_one_request()
499
500 def send_error(self, code, message=None, explain=None):
501 """Send and log an error reply.

Callers

nothing calls this directly

Calls 1

handle_one_requestMethod · 0.95

Tested by

no test coverage detected