Skip to content

API Reference


API Reference / @dasch-ng/web-utils / ContentDisposition

Interface: ContentDisposition ​

Defined in: content-disposition.ts:1

Properties ​

filename? ​

optional filename?: string

Defined in: content-disposition.ts:5

The file name, decoded. filename* (RFC 5987) wins over filename.


parameters ​

parameters: Record<string, string>

Defined in: content-disposition.ts:7

All parameters with lowercased names, values unquoted (and decoded for name*).


type ​

type: string

Defined in: content-disposition.ts:3

attachment, inline or another disposition type, lowercased.

Released under the MIT License.