def METHOD_NAME(
    self, response: bytes, code: int = 200, content_type: str = "application/json"
) -> None:
    self.send_response(code)
    self.send_header("Content-type", content_type)
    self.end_headers()
    self.wfile.write(response)