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

Method do_GET

Lib/test/test_httpservers.py:1235–1240  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1233 self.protocol_version = "HTTP/1.1"
1234
1235 def do_GET(self):
1236 self.get_called = True
1237 self.send_response(HTTPStatus.OK)
1238 self.send_header('Content-Type', 'text/html')
1239 self.end_headers()
1240 self.wfile.write(b'<html><body>Data</body></html>\r\n')
1241
1242 def log_message(self, format, *args):
1243 pass

Callers

nothing calls this directly

Calls 4

send_responseMethod · 0.80
send_headerMethod · 0.80
end_headersMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected