code: def sanitize_http_response_cookies(client, event):
      
      try:
          cookie_string = event["context"]["response"]["headers"]["set-cookie"]
          event["context"]["response"]["headers"]["set-cookie"] = _sanitize_string(cookie_string, ";", "=")
      except (KeyError, TypeError):
          pass
      return event
docs: Sanitizes the set-cookie header of the response
      :param client: an ElasticAPM client
      :param event: a transaction or error event
      :return: The modified event