Databricks SDK for JavaScript
    Preparing search index...

    Interface DownloadFileResponse

    A streamed file body and its HTTP response headers.

    interface DownloadFileResponse {
        acceptRanges?: string;
        contentLength?: bigint;
        contentRange?: string;
        contents?: ReadableStream<any>;
        contentType?: string;
        etag?: string;
        lastModified?: string;
    }
    Index

    Properties

    acceptRanges?: string

    The supported range unit: bytes.

    contentLength?: bigint

    The length of the response body in bytes.

    contentRange?: string

    The returned byte range and full file length, for a partial response.

    contents?: ReadableStream<any>

    The full file or the requested byte range.

    contentType?: string

    The media type of the response body: application/octet-stream.

    etag?: string

    The entity tag used for conditional requests.

    lastModified?: string

    The modification time as an HTTP-date, when representable.