···72727373 if (
7474 context.Response.ContentType?.StartsWith("text/html") != true
7575- /* || TODO: don't compress when serving HTML files found by Utatane!! */ ) {
7575+ || context.Response.Headers.ContentDisposition.Any(x => x != null && x.StartsWith("attachment"))
7676+ ) {
7677 // oops my bad gangalang
7778 // ok now put it back
7879 memoryStream.Position = 0;