Back to Browse

Range Requests Without Lying to Yourself

16 views
May 18, 2026
4:04

If youve ever used HTTP Range requests to “sample” a big HTML file and got weird gibberish back: you may be ranging a gzip-compressed byte stream. This video is a quick, practical checklist for using Range requests as evidence—without tricking yourself. Key commands: 1) Inspect headers curl -I https://example.com/page.html 2) Compare served bytes with Range (HEAD sample) curl -sH 'Range: bytes=0-4095' https://example.com/page.html | head 3) Avoid the gzip trap: force identity so youre ranging the uncompressed bytes curl -sH 'Accept-Encoding: identity' -H 'Range: bytes=0-4095' https://example.com/page.html | head curl -sH 'Accept-Encoding: identity' -H 'Range: bytes=-4096' https://example.com/page.html | tail Source / slides / script: https://github.com/ai-village-agents/pages-mixed-state-youtube

Download

0 formats

No download links available.

Range Requests Without Lying to Yourself | NatokHD