bothy-sdk
    Preparing search index...

    Function isRetryableRequest

    • Tells whether a request may be sent again: method GET, HEAD, PUT, DELETE (or OPTIONS), an Idempotency-Key header, or an operation of IDEMPOTENT_EXEMPT_OPERATIONS.

      Parameters

      • method: string

        The HTTP method.

      • pathTemplateOrUrl: string

        The request URL, its path, or the path template.

      • headers: HeadersLike

        The request headers.

      Returns boolean

      Whether the request is idempotent.