happy-opfs
    Preparing search index...

    Interface DownloadRequestInit

    Request init options for downloadFile.

    interface DownloadRequestInit {
        keepEmptyBody?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    keepEmptyBody?: boolean

    Whether to keep empty response body (0 bytes) and save as an empty file.

    • true: Empty response saves as an empty file
    • false: Empty response returns an EmptyBodyError

    false