Function sameResourceState

  • Validates whether 2 ETags correspond to the same state of a resource, independent of the representation the ETags correspond to. Assumes ETags are made with the getETag function.

    Parameters

    • eTag1: string
    • eTag2: string

    Returns boolean