docs: def _close_after_stream(self, response, chunk_size):
          """Iterate over the content and ensure the response is closed after."""
          # Yield each chunk in the response body
          for chunk in response.iter_content(chunk_size=chunk_size):
              yield chunk
          # Once we're done streaming the body, ensure everything is closed.
          response.close()