Security · Security headers
Bad content type
The picture on this page is a PNG file, but the server sends it with a Content-Type of image/jpeg, so the declared type does not match the file.
How this page is built
The grey rectangle below is a PNG file. A rule in the site's Netlify _headers file serves it with Content-Type: image/jpeg. Browsers look at the file itself for images, so it still displays.

Why it matters
The Content-Type header tells browsers and crawlers what kind of file they are getting. When it is wrong, the result depends on the file. Browsers often guess correctly for images, but with nosniff set they refuse scripts and stylesheets whose type does not match. Crawlers may skip a file, or index it as the wrong thing, such as a PDF served as text.
Wrong types usually come from a server with no rule for a file extension, or from a file renamed without being converted.
How to check it
Fetch the file with curl -I and compare the Content-Type with the file’s real format. Crawl tools list resources whose content type does not match their extension or contents.
How to fix it
Serve each file with the content type that matches its real format, and add server rules for any extension the server does not know. If the file is in the wrong format, convert it rather than change the header.