snaptag icon indicating copy to clipboard operation
snaptag copied to clipboard

API returning wrong Content-Type header

Open pixelyunicorn opened this issue 9 years ago • 2 comments

The Snaptag API is returning the wrong content type and the image will not display in some browsers or when embedded in a webpage.

image

It is currently text/html when should be image/svg+xml (see https://css-tricks.com/snippets/htaccess/serve-svg-correct-content-type/)

pixelyunicorn avatar Oct 19 '16 17:10 pixelyunicorn

added the field in .htaccess can you confirm that it works?

jusleg avatar Oct 21 '16 02:10 jusleg

Just tried again with a cleared cache, still appears as text/html from my end.

image

pixelyunicorn avatar Nov 02 '16 04:11 pixelyunicorn