class_docstr: Handle HTTP requests.
class_docstr_tok: ["Handle","HTTP","requests","."]
docstr: Handle HEAD requests.
docstr_tok: ["Handle","HEAD","requests","."]
code: def do_HEAD(self):
      """
      Handle HEAD requests.
      """
      self.send_response(200)
      self.send_header("Content-type", "text/html")
      self.end_headers()
  
imports: from http.server import BaseHTTPRequestHandler, HTTPServer
  from parlai.scripts.interactive import setup_args
  from parlai.core.agents import create_agent
  from parlai.core.worlds import create_task
  from typing import Dict, Any
  from parlai.core.script import ParlaiScript, register_script
  import parlai.utils.logging
  import json
  import time
  from parlai.agents.local_human.local_human import LocalHumanAgent
label_desc: Use image node_id 2 for calling the MyHandler obj's underlying member method code with example usage: obj.do_HEAD() without return types