Content-Type hard-coded to application/octet-stream for LFS design images

We've noticed two strange things recently:

  1. The raw job.log (e.g. click on the Show complete log icon at the top) shows this Content-Type: invalid/invalid:

image

This causes the job.log to be downloaded as an attachment instead of a raw text file inside the browser.

  1. As @.luke mentioned in #34279 (comment 303545297), SVG images within <img> tags appear as broken images because the Content-Type is application/octet-stream instead of image/svg+xml. You can see this in #34279 (designs):

image

In my GDK with my own GCS bucket, I don't see these issues, so I'm wondering Cloudflare or something else is altering the Content-Type values.

Edited by Stan Hu