How to make browser request smaller range with 206 Partial Content
问题 I am currently making a video streaming service where the video is transcoded in chunks of roughly 1MB each. The HTML5 player of Firefox, Chrome and IE all try their best to request partial content (by adding the Range header to their request). Unfortunately, most of the time this header looks like this: Range:bytes=0- I don't want to return the full content, but only 1MB of the content, so I return this: Content-Range:bytes 0-1048575/5074944 Now Chrome accepts this completely and keeps