mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +02:00
Add descriptive comment on why range request response must be skipped
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user