static setCorsOverride_(method, headerObject) {
    return /** @type {string} */ (HttpCors.setHttpHeadersWithOverwriteParam(
        method, HttpCors.HTTP_HEADERS_PARAM_NAME, headerObject));
  }
@private
@static
@param {string} method The method to invoke
@param {!Object<string,string>} headerObject The xhr headers
@return {string} The URI object or a string path with headers