@svta/common-media-library
    Preparing search index...

    Function appendCmcdHeaders

    • Beta

      Append CMCD query args to a header object.

      Parameters

      • headers: Record<string, string>

        The headers to append to.

      • cmcd: Cmcd

        The CMCD object to append.

      • Optionaloptions: CmcdEncodeOptions

        Encode options.

      Returns Record<string, string>

      The headers with the CMCD header shards appended.