Skip to content

miniproto.media.cdn.CdnIntegrityError

Bases: CdnError

Raised when a CDN range lacks valid FileHash coverage or verification fails.

This includes missing hash metadata, non-positive FileHash.limit, responses shorter than a declared hash interval, SHA-256 mismatches and intervals that cannot fit a legal CDN request. Each declared limit determines the exact number of decrypted bytes to hash.