class_docstr: Interactive Handler.
class_docstr_tok: ["Interactive","Handler","."]
docstr: Generate HTTP.
docstr_tok: ["Generate","HTTP","."]
code: def handle_http(self, status_code, path, text=None):
      """
      Generate HTTP.
      """
      self.send_response(status_code)
      self.send_header("Content-type", "text/html")
      self.end_headers()
      content = WEB_HTML.format(STYLE_SHEET, FONT_AWESOME)
      return bytes(content, "UTF-8")
  
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 parlai.core.image_featurizers import ImageLoader
  from typing import Dict, Any
  import json
  import cgi
  import PIL.Image
  from base64 import b64decode
  import io
  import os
label_desc: Use image node_id 5 for calling the MyHandler obj's underlying member method code with example usage: obj.handle_http(status_code, path, text) and returns: bytes