mycocepurus-smithii - v2.0.1
    Preparing search index...

    Function fingerprintRequest

    • The fingerprint idempotent uses: method, path and query, and the body bytes. Headers are left out on purpose, because what varies between two honest retries (a trace id, a token that was refreshed) is a property of your clients, and a fingerprint over it would make every retry a mismatch.

      The request is cloned, so the caller's body is still readable afterwards.

      Parameters

      • request: Request

      Returns Promise<string>