class_docstr: Interactive Handler.
class_docstr_tok: ["Interactive","Handler","."]
docstr: Handle headers.
docstr_tok: ["Handle","headers","."]
code: def do_HEAD(self):
      """
      Handle headers.
      """
      self.send_response(200)
      self.send_header("Content-type", "text/html")
      self.end_headers()
  
imports: from typing import Dict, Any
  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 parlai.core.image_featurizers import ImageLoader
  import json
  import cgi
  import PIL.Image
  from base64 import b64decode
  import io
  import os
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