-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support encrypted init segments #1132
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1132 +/- ##
==========================================
+ Coverage 86.20% 86.27% +0.06%
==========================================
Files 39 39
Lines 9289 9325 +36
Branches 2127 2135 +8
==========================================
+ Hits 8008 8045 +37
+ Misses 1281 1280 -1
Continue to review full report at Codecov.
|
@@ -98,6 +98,15 @@ const handleErrors = (error, request) => { | |||
}; | |||
} | |||
|
|||
if (request.responseType === 'arraybuffer' && request.response.byteLength === 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this to handleErrors
as it was something that was copy pasted for most of our functions.
b65fe95
to
c4e36bb
Compare
Co-authored-by: Garrett Singer <[email protected]>
Co-authored-by: Garrett Singer <[email protected]>
Co-authored-by: Garrett Singer <[email protected]>
Support encrypted init segments