class_docstr: Configuration for an external HTTP endpoint.
class_docstr_tok: ["Configuration","for","an","external","HTTP","endpoint","."]
code: def copy(self) -> "EndpointConfig":
      return EndpointConfig(
          self.url,
          self.params,
          self.headers,
          self.basic_auth,
          self.token,
          self.token_name,
          **self.kwargs,
      )
  
imports: import ssl
  from functools import cached_property
  import aiohttp
  import logging
  import os
  from aiohttp.client_exceptions import ContentTypeError
  from sanic.request import Request
  from typing import Any, Optional, Text, Dict
  from rasa.shared.exceptions import FileNotFoundException
  import rasa.shared.utils.io
  import rasa.utils.io
  from rasa.core.constants import DEFAULT_REQUEST_TIMEOUT
label_desc: Use image node_id 5 for calling the EndpointConfig obj's underlying member method code with example usage: obj.copy() and returns: EndpointConfig