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
fix: clamp range end to file size instead of returning 416
RFC 7233 Section 2.1 states that if the last-byte-pos is greater than
or equal to the current length of the representation, the byte range
should be interpreted as the remainder of the representation, not
rejected as unsatisfiable.
`bytes=0-999` on a 500-byte file now returns `bytes 0-499/500` (206)
instead of 416.
0 commit comments