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

Method do_GET

Lib/http/server.py:734–741  ·  view source on GitHub ↗

Serve a GET request.

(self)

Source from the content-addressed store, hash-verified

732 super().__init__(*args, **kwargs)
733
734 def do_GET(self):
735 """Serve a GET request."""
736 f = self.send_head()
737 if f:
738 try:
739 self.copyfile(f, self.wfile)
740 finally:
741 f.close()
742
743 def do_HEAD(self):
744 """Serve a HEAD request."""

Callers

nothing calls this directly

Calls 3

send_headMethod · 0.95
copyfileMethod · 0.95
closeMethod · 0.45

Tested by

no test coverage detected