<commit_before>﻿using System;
using System.Threading.Tasks;
using System.IO;
using System.Net.Http;
using FFImageLoading.Helpers;
using System.Threading;
using FFImageLoading.Work;
using FFImageLoading.Config;
using System.Linq;

namespace FFImageLoading.Cache
{
    [Preserve(AllMembers = true)]
    public class DownloadCache : IDownloadCache
    {
        public DownloadCache(Configuration configuration)
        {
            Configuration = configuration;
        }

        const int BufferSize = 4096;

        public string[] InvalidContentTypes { get; set; } = new[] { "text/html", "application/", "audio/", "video/", "message" };
<commit_msg>Fixed regression (application/octet-stream ContentType not working)<commit_after>﻿using System;
using System.Threading.Tasks;
using System.IO;
using System.Net.Http;
using FFImageLoading.Helpers;
using System.Threading;
using FFImageLoading.Work;
using FFImageLoading.Config;
using System.Linq;

namespace FFImageLoading.Cache
{
    [Preserve(AllMembers = true)]
    public class DownloadCache : IDownloadCache
    {
        public DownloadCache(Configuration configuration)
        {
            Configuration = configuration;
        }

        const int BufferSize = 4096;

        public string[] InvalidContentTypes { get; set; } = new[] { "text/html", "application/json", "audio/", "video/", "message" };

{'fraction_non_alphanumeric': 0.10557184750733138, 'fraction_numerical': 0.005865102639296188, 'mean_word_length': 3.706896551724138, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5557932', 'n_tokens_mistral': 386, 'n_tokens_neox': 373, 'n_words': 97}