What byte range 0- means
问题 What "Range: bytes=0-" header means ? Is the entire file ? I tried sending back 0 bytes and is not working, when I send the entire file it works, but I receive this request more than once in a streaming context, it doesn't look right. 回答1: Is the entire file ? Yes, exactly that. The spec has the grammar: byte-range-set = 1#( byte-range-spec / suffix-byte-range-spec ) byte-range-spec = first-byte-pos "-" [ last-byte-pos ] and also notes: If the last-byte-pos value is absent, or if the value is