Content-Type hard-coded to application/octet-stream for LFS design images
We've noticed two strange things recently:
- The raw
job.log(e.g. click on theShow complete logicon at the top) shows thisContent-Type: invalid/invalid:
This causes the job.log to be downloaded as an attachment instead of a raw text file inside the browser.
- As @.luke mentioned in #34279 (comment 303545297), SVG images within
<img>tags appear as broken images because theContent-Typeisapplication/octet-streaminstead ofimage/svg+xml. You can see this in #34279 (designs):
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

