function appendWebsiteIndexDocument(request, indexDocumentSuffix, force = false) {
    const reqObjectKey = request.objectKey ? request.objectKey : '';
    /* eslint-disable no-param-reassign */

    // find index document if "directory" sent in request
    if (reqObjectKey.endsWith('/')) {
        request.objectKey += indexDocumentSuffix;
    // find index document if no key provided
    } else if (reqObjectKey === '') {
        request.objectKey = indexDocumentSuffix;
    // force for redirect 302 on folder without trailing / that has an index
    } else if (force) {
        request.objectKey += `/${indexDocumentSuffix}`;
    }
    /* eslint-enable no-param-reassign */
}
appendWebsiteIndexDocument - append index to objectKey if necessary
@param {object} request - normalized request object
@param {string} indexDocumentSuffix - index document from website config
@param {boolean} force - flag to force append index
@return {undefined}