Add descriptive comment on why range request response must be skipped

This commit is contained in:
Pablo Bonilla
2025-08-13 19:05:03 -06:00
parent 5c598e35c2
commit 4521a65587
+2
View File
@@ -316,6 +316,8 @@ export class UrlSource extends Source {
this._fullData = await rangeResponse.arrayBuffer();
if (this._fullData.byteLength !== 1) {
return this._fullData.byteLength;
} else {
// The server responded with 200, but returned only the requested range, so skip the response
}
}