class_docstr: Fake object to act like a requests return value when downloading a file.
class_docstr_tok: ["Fake","object","to","act","like","a","requests","return","value","when","downloading","a","file","."]
code: def __init__(self, url, stream=None, timeout=None):
      self._filename = os.path.basename(url)
      self.headers = {}
      self.requests_log.append(url)
      del stream  # just mimicking requests 'get'
      del timeout
  
imports: from __future__ import annotations
  import contextlib
  import io
  import os
  import sys
  import tarfile
  import unittest
  from collections import defaultdict
  from unittest import mock
  import pytest
label_desc: Use image node_id 1 to create a new _FakeRequest object  with example: obj = _FakeRequest(url, stream, timeout)