code: def http_get(url, 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
      """
      logger.info(f"Downloading {url}.")
      req = requests.get(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 or req.status_code == 404:
          raise Exception(f"Could not reach {url}.")
      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: TextAttack/textattack/shared/utils/install.py
imports: import logging.config
  import os
  import pathlib
  import shutil
  import sys
  import tempfile
  import zipfile
  import filelock
  import requests
  import tqdm
label_desc: Use image node_id 6 for calling a global function with example usage: http_get(url, out_file, proxies) without return types