Sdílet prostřednictvím


FileHTTPHeaders interface

Další parametry pro sadu operací, například: File_create, File_setHTTPHeaders.

Vlastnosti

fileCacheControl

Nastaví ovládací prvek mezipaměti souboru. Služba File ukládá tuto hodnotu, ale nepoužívá ji ani neupravuje.

fileContentDisposition

Nastaví hlavičku Content-Disposition souboru.

fileContentEncoding

Určuje, které kódování obsahu se na soubor použilo.

fileContentLanguage

Určuje přirozené jazyky používané tímto prostředkem.

fileContentMD5

Nastaví hodnotu hash MD5 souboru.

fileContentType

Nastaví typ obsahu MIME souboru. Výchozí typ je application/octet-stream.

Podrobnosti vlastnosti

fileCacheControl

Nastaví ovládací prvek mezipaměti souboru. Služba File ukládá tuto hodnotu, ale nepoužívá ji ani neupravuje.

fileCacheControl?: undefined | string

Hodnota vlastnosti

undefined | string

fileContentDisposition

Nastaví hlavičku Content-Disposition souboru.

fileContentDisposition?: undefined | string

Hodnota vlastnosti

undefined | string

fileContentEncoding

Určuje, které kódování obsahu se na soubor použilo.

fileContentEncoding?: undefined | string

Hodnota vlastnosti

undefined | string

fileContentLanguage

Určuje přirozené jazyky používané tímto prostředkem.

fileContentLanguage?: undefined | string

Hodnota vlastnosti

undefined | string

fileContentMD5

Nastaví hodnotu hash MD5 souboru.

fileContentMD5?: Uint8Array

Hodnota vlastnosti

Uint8Array

fileContentType

Nastaví typ obsahu MIME souboru. Výchozí typ je application/octet-stream.

fileContentType?: undefined | string

Hodnota vlastnosti

undefined | string