RegExp to match non attr-char, after encodeURIComponent (i.e. not including "%")
RegExp for constious RFC 5987 grammar
ext-value = charset "'" [ language ] "'" value-chars
charset = "UTF-8" / "ISO-8859-1" / mime-charset
mime-charset = 1*mime-charsetc
mime-charsetc = ALPHA / DIGIT
/ "!" / "#" / "$" / "%" / "&"
/ "+" / "-" / "^" / "_" / "" / "{" / "}" / "~" language = ( 2*3ALPHA [ extlang ] ) / 4ALPHA / 5*8ALPHA extlang = *3( "-" 3ALPHA ) value-chars = *( pct-encoded / attr-char ) pct-encoded = "%" HEXDIG HEXDIG attr-char = ALPHA / DIGIT / "!" / "#" / "$" / "&" / "+" / "-" / "." / "^" / "_" / "" / "|" / "~"
RegExp to match percent encoding escape.
RegExp to match non-latin1 characters.
RegExp for constious RFC 2616 grammar
parameter = token "=" ( token | quoted-string )
token = 1*
RegExp to match quoted-pair in RFC 2616
quoted-pair = "" CHAR CHAR = <any US-ASCII character (octets 0 - 127)>
RegExp to match chars that must be quoted-pair in RFC 2616
Creates a Content-Disposition Header value from a type and an optional filename.
Create parameters object from filename and fallback.
Format object to Content-Disposition header.
Get ISO-8859-1 version of string.
Percent encode a single character.
Quote a string for HTTP.
Encode a Unicode string for HTTP (RFC 5987).
Generated using TypeDoc
RegExp for constious RFC 6266 grammar
disposition-type = "inline" | "attachment" | disp-ext-type disp-ext-type = token disposition-parm = filename-parm | disp-ext-parm filename-parm = "filename" "=" value | "filename*" "=" ext-value disp-ext-parm = token "=" value | ext-token "=" ext-value ext-token = <the characters in token, followed by "*">