mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-06 01:11:37 +00:00
Large media downloads (a 19MB video takes ~60s over the slow runner tunnel) previously showed only a pulsing placeholder, so the load looked dead and users gave up. Read the response stream against Content-Length and render a percentage bar while the blob downloads; fall back to an indeterminate "Loading …" label when the header is absent, and keep the instant path for cache hits.