blob: 5d562c8934aec8158616af4e06841f2cfe60613f [file] [log] [blame]
/**
* Extract file name from the Content-Disposition HTTP response header.
*
* @param {string} contentDisposition
* @returns {string} Filename, if found in the Content-Disposition header.
*/
export function getFilenameFromContentDispositionHeader(contentDisposition: string): string;