MCPcopy Create free account
hub / github.com/alexandre-lavoie/python-log4rce / do_GET

Method do_GET

log4rce.py:193–198  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

191 super().__init__(*args, **kwargs)
192
193 def do_GET(self):
194 self.send_response(200)
195 self.send_header("Content-type", "application/octet-stream")
196 self.end_headers()
197
198 self.wfile.write(self.__java_class.raw)
199
200 def log_message(self, format, *args):
201 http_logger.info(f"Request from {self.client_address} to {self.path}")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected