static verimatrixFairPlayRequest(type, request, context) {
    if (type !== shaka.net.NetworkingEngine.RequestType.LICENSE) {
      return;
    }

    const drmInfo = request.drmInfo;
    if (!drmInfo ||
        !shaka.drm.DrmUtils.isFairPlayKeySystem(drmInfo.keySystem)) {
      return;
    }

    const body = /** @type {!(ArrayBuffer|ArrayBufferView)} */(request.body);
    const originalPayload = shaka.util.BufferUtils.toUint8(body);
    const base64Payload = shaka.util.Uint8ArrayUtils.toBase64(originalPayload);
    request.headers['Content-Type'] = 'application/x-www-form-urlencoded';
    request.body = shaka.util.StringUtils.toUTF8('spc=' + base64Payload);
  }
Verimatrix FairPlay request.

@param {shaka.net.NetworkingEngine.RequestType} type
@param {shaka.extern.Request} request
@param {shaka.extern.RequestContext=} context
@export