code: def scrub_response(response):
      ignore = {
          x.lower()
          for x in [
              "Authorization",
              "Set-Cookie",
              "Cookie",
              "Date",
              "Expires",
              "Transfer-Encoding",
              "last-modified",
          ]
      }
      for header in list(response["headers"]):
          if (
              header.lower() in ignore
              or header.lower().startswith("access-control")
              or header.lower().startswith("x-")
          ):
              del response["headers"][header]
      return response
  
imports: import re
  import threading
  from datetime import datetime
  from functools import reduce
  from os import environ
  from os.path import abspath, dirname, exists, isfile, join
  import pytest
  import yaml
  from pytest_socket import disable_socket
  from vcr import VCR
  import sentinelsat
  from sentinelsat import SentinelAPI, geojson_to_wkt, read_geojson
  from .custom_serializer import BinaryContentSerializer
label_desc: Use image node_id 3 for calling a global function with example usage: scrub_response(response) and returns: response