Per spec, server should return status code 416 'Requested Range Not Satisfiable' for requests where a Range header doesn't overlap the available file data:
https://tools.ietf.org/html/rfc2616#section-10.4.17
Currently I'm seeing HTTP 501 responses instead for this case. Examples:
# In range, returns HTTP 206 curl -v 'https://upload.wikimedia.org/wikipedia/commons/transcoded/7/7c/Caminandes_-_Gran_Dillama_-_Blender_Foundation%27s_new_Open_Movie.webm/Caminandes_-_Gran_Dillama_-_Blender_Foundation%27s_new_Open_Movie.webm.480p.webm' \ -XGET \ -H 'Range: bytes=20000000-20076624' > /dev/null
# Out of range, returns HTTP 501 curl -v 'https://upload.wikimedia.org/wikipedia/commons/transcoded/7/7c/Caminandes_-_Gran_Dillama_-_Blender_Foundation%27s_new_Open_Movie.webm/Caminandes_-_Gran_Dillama_-_Blender_Foundation%27s_new_Open_Movie.webm.480p.webm' \ -XGET \ -H 'Range: bytes=20076624-21125199' > /dev/null
This is probably relatively harmless, but it would be better to return a 416 to provide a Content-Range header with the actually-available byte range.
(Note that a range that strands from within the data to beyond end of file will return the part that is valid. This only affects when requesting a range that's entirely outside the file.)