Skip to content
Snippets Groups Projects
Commit 14f0c3d1 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix suspicion expressed by DigitalMan in IRC

Actually ensure the byte range starts with "bytes=".
If anyone defines something other than bytes in the future, this
will correctly give them an error instead of parsing everything after
the sixth byte as a byte range.

Also, fixes parsing of end-anchored ranges (ie: -100 and 100-)
and the special case of 0-0 (should send one byte)
parent e712db6e
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment