open-nav
    Preparing search index...

    Interface DecodeOptions

    interface DecodeOptions {
        compressed?: boolean;
    }
    Index
    compressed?: boolean

    Whether the payload is gzipped, normally from NAV's compressedContentIndicator.

    Leave it unset to detect compression from the payload itself, which is more robust: the indicator describes the batch as submitted, and reading it wrongly turns a valid invoice into an XML parse error.