code: def http_get(folder_name, out_file, proxies=None):
      """
      Get contents of a URL and save to a file.
  
      https://github.com/huggingface/transformers/blob/master/src
      /transformers/file_utils.py
  
      """
      folder_url = textflint_url(folder_name)
      logger.info(f"Downloading {folder_url}.")
      req = requests.get(folder_url, stream=True, proxies=proxies)
      content_length = req.headers.get("Content-Length")
      total = (
          int(content_length) if content_length is not None else None
      )
      if req.status_code == 403:  # Not found on AWS
          raise Exception(f"Could not find {folder_name} on server.")
      progress = tqdm.tqdm(unit="B", unit_scale=True, total=total)
      for chunk in req.iter_content(chunk_size=1024):
          if chunk:  # filter out keep-alive new chunks
              progress.update(len(chunk))
              out_file.write(chunk)
      progress.close()
  
file_path: textflint/textflint/common/utils/install.py
imports: import os
  import shutil
  import tempfile
  import zipfile
  import filelock
  import requests
  import tqdm
  from .logger import logger
  from ..settings import CACHE_DIR
label_desc: Use image node_id 6 for calling a global function with example usage: http_get(folder_name, out_file, proxies) without return types