Wrong content type served on SVG files through Imgix



  • Rex Osafo-Asare

    Hey Quentin

    Can't say that I have come across the serving of a wrong Content-Type or switching between what has been defined and another Content-Type from the same subset of files. We'll reach out to Imgix on our end also and see if there is anything funny happening between Imgix talking to Fastly and vice versa.

  • mr_doinel

    We are still getting the issue. For example this image is returned as text/plain so the browser simply don't display it : https://area17.imgix.net/9f43c839-46ad-4168-9b08-b241b65f769d/logo2008alli_02.svg

    Any update on that front ? Best.

  • Rex Osafo-Asare

    Hey mr_doinel,

    Sorry for the radio silence. As originally thought Fastly will respect the Content-Type header received from any of our customers origins. Our flexibility does allow for updating headers such as the Content-Type header. Unfortunately I cannot comment on any customer's particular configuration. I would recommend contacting the service to see if they have any further insight on this issue.

Please sign in to leave a comment.