happy-opfs
    Preparing search index...

    Interface ZipFromUrlRequestInit

    Request init options for zipFromUrl.

    interface ZipFromUrlRequestInit {
        filename?: string;
        keepEmptyBody?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    filename?: string

    The filename to use in the zip archive. Defaults to the basename of the URL pathname, or 'file' if the pathname is '/'.

    keepEmptyBody?: boolean

    Whether to keep empty response body (0 bytes) and create a zip with an empty file entry.

    • true: Empty response creates a zip with an empty file entry
    • false: Empty response returns an EmptyBodyError

    false