Module

x/zipjs/index.d.ts>HttpOptions

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
Latest
interface HttpOptions
implements HttpRangeOptions
import { type HttpOptions } from "https://dotland.deno.dev/x/zipjs@v2.7.53/index.d.ts";

Represents the options passed to the constructor of HttpReader.

Properties

optional
useRangeHeader: boolean

true to use Range headers when fetching data from servers returning Accept-Ranges headers.

optional
forceRangeRequests: boolean

true to always use Range headers when fetching data.

optional
preventHeadRequest: boolean

true to prevent using HEAD HTTP request in order the get the size of the content. false to explicitly use HEAD, this is useful in case of CORS where Access-Control-Expose-Headers: Content-Range is not returned by the server.

optional
combineSizeEocd: boolean

true to use Range: bytes=-22 on the first request and cache the EOCD, make sure beforehand that the server supports a suffix range request.