Files
klz-cables.com/.pnpm-store/v10/files/6c/ddf68ec0dd39e6fa763b2a9911e3bd8228b831b478395d4d178d4be7f0e6f7c8586ee26ad570bd9198f90e9d17825e9a23c9a5a63f81b3c7ecdcedb354bd8c
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

24 lines
582 B
Plaintext

export type ByteRange = {
end: number;
start: number;
};
export type ParseRangeResult = {
range: ByteRange;
type: 'partial';
} | {
range: null;
type: 'full';
} | {
range: null;
type: 'invalid';
};
/**
* Parses HTTP Range header according to RFC 7233
*
* @returns Result object indicating whether to serve full file, partial content, or invalid range
*/
export declare function parseRangeHeader({ fileSize, rangeHeader, }: {
fileSize: number;
rangeHeader: null | string;
}): ParseRangeResult;
//# sourceMappingURL=parseRangeHeader.d.ts.map