requestContentType method
Implementation
SubtitleDecoder requestContentType(Map<String, dynamic> headers) {
// Extracts the subtitle content type from the headers.
final encoding = _encodingForHeaders(headers as Map<String, String>);
return encoding == latin1 ? SubtitleDecoder.latin1 : SubtitleDecoder.utf8;
}