content_disposition.d.ts 289 B

1234567
  1. /**
  2. * Extract file name from the Content-Disposition HTTP response header.
  3. *
  4. * @param {string} contentDisposition
  5. * @returns {string} Filename, if found in the Content-Disposition header.
  6. */
  7. export function getFilenameFromContentDispositionHeader(contentDisposition: string): string;