Skip to content

Commit

Permalink
fix: Avoid make HEAD request for image mime type (#7332)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored Sep 17, 2024
1 parent 50d0215 commit 6716ff0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/net/networking_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,9 @@ shaka.net.NetworkingUtils.EXTENSIONS_TO_MIME_TYPES_ = {
'lrc': 'application/x-subtitle-lrc',
'ssa': 'text/x-ssa',
'ass': 'text/x-ssa',
'jpg': 'image/jpeg',
'png': 'image/png',
'svg': 'image/svg+xml',
'webp': 'image/webp',
'avif': 'image/avif',
};

0 comments on commit 6716ff0

Please sign in to comment.