You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.
When the request header
Range
is set tobytes=0-
, the last byte is missing from the response.Reproduction steps
Create
ohno.txt
with contents:Don't use
echo
to createohno.txt
, it would put a newline in it. Some texteditors also automatically insert newlines
Additional notes
The HTTP
Range
header is annoying to implement correctly, I recommend writing a bunch of tests around it!I think just doing
end - start + 1
here would fix it:sfz/src/server/send.rs
Line 162 in d3c0b05
...but it's the end of the day and I'm tired, so.
The text was updated successfully, but these errors were encountered: