Skip to content

fix(media): accept case-insensitive byte range units - #85

Merged
ralyodio merged 1 commit into
moshcoder:masterfrom
phucnguyen1707:fix/http-range-unit-case
Aug 1, 2026
Merged

fix(media): accept case-insensitive byte range units#85
ralyodio merged 1 commit into
moshcoder:masterfrom
phucnguyen1707:fix/http-range-unit-case

Conversation

@phucnguyen1707

Copy link
Copy Markdown
Contributor

Summary

  • accept HTTP byte range units regardless of letter case
  • add regression coverage for uppercase BYTES

HTTP range unit names are case-insensitive, so valid media requests such as Range: Bytes=2-5 should return partial content instead of 416.

Tests

  • node --test tests/http-range.test.mjs

@ralyodio
ralyodio merged commit eeb35c8 into moshcoder:master Aug 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants