Skip to content

fix: HTTP Range header correctly parse suffix-byte-range requests#58

Open
mayank-dev-15 wants to merge 1 commit into
windoze95:mainfrom
mayank-dev-15:fix/range-header-parsing
Open

fix: HTTP Range header correctly parse suffix-byte-range requests#58
mayank-dev-15 wants to merge 1 commit into
windoze95:mainfrom
mayank-dev-15:fix/range-header-parsing

Conversation

@mayank-dev-15

Copy link
Copy Markdown

Fixes #29 - Correctly parse suffix-byte-range requests (e.g., bytes=-500).

When a client requests the last N bytes using bytes=-N format, the parser now calculates start from the end of the file instead of erroneously returning bytes from the beginning.

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.

1 participant