class_docstr: Mixin that serves temporary directory as web server
  
  This class creates temporary directory and serve the directory as HTTP service.
  The server is up through the execution of all the test suite defined under the subclass.
class_docstr_tok: ["Mixin","that","serves","temporary","directory","as","web","server","This","class","creates","temporary","directory","and","serve","the","directory","as","HTTP","service",".","The","server","is","up","through","the","execution","of","all","the","test","suite","defined","under","the","subclass","."]
code: def setUpClass(cls):
      super().setUpClass()
      cls._proc = subprocess.Popen(
          ["python", "-m", "http.server", f"{cls._port}"],
          cwd=cls.get_base_temp_dir(),
          stderr=subprocess.DEVNULL,
      )  # Disable server-side error log because it is confusing
      time.sleep(2.0)
  
imports: import functools
  import os.path
  import shutil
  import subprocess
  import sys
  import tempfile
  import time
  import unittest
  from itertools import zip_longest
  import torch
  import torchaudio
  import torio
  from torch.testing._internal.common_utils import TestCase
  from torchaudio._internal.module_utils import eval_env, is_module_available
  from torchaudio.utils.ffmpeg_utils import get_video_decoders, get_video_encoders
label_desc: Use image node_id 1 for calling the HttpServerMixin obj's underlying member method code with example usage: obj.setUpClass(cls) without return types