Open taralx opened 1 year ago
https://datatracker.ietf.org/doc/html/rfc9110#rule.suffix-range
tl;dr: If you send a header Range: bytes=-8 it should return the last 8 bytes of the file, but instead it returns the first 9 bytes as if Range: bytes=0-8 had been passed.
Range: bytes=-8
Range: bytes=0-8
https://datatracker.ietf.org/doc/html/rfc9110#rule.suffix-range
tl;dr: If you send a header
Range: bytes=-8
it should return the last 8 bytes of the file, but instead it returns the first 9 bytes as ifRange: bytes=0-8
had been passed.