code: def test_issue1982(capfd):
      """See a curl request for overview file"""
      with rasterio.Env(CPL_CURL_VERBOSE=True), rasterio.open(
          "https://raw.githubusercontent.com/mapbox/rasterio/main/tests/data/green.tif"
      ) as src:
          image = src.read(
              indexes=[1, 2, 3],
              window=Window(
                  col_off=-32, row_off=-32, width=64, height=64
              ),
              resampling=Resampling.cubic,
              boundless=True,
              out_shape=(3, 10, 10),
              fill_value=42,
          )
      captured = capfd.readouterr()
      assert "green.tif" in captured.err
      assert "green.tif.ovr" in captured.err
      assert (42 == image[:, :3, :]).all()
      assert (42 == image[:, :, :3]).all()
  
imports: import numpy
  import pytest
  import rasterio
  from rasterio.enums import Resampling
  from rasterio.windows import Window
label_desc: Use image node_id 16 for calling a global function with example usage: test_issue1982(capfd) without return types