NetTalk Central

Author Topic: error.css X-Content-Type-Options: nosniff  (Read 3028 times)

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
error.css X-Content-Type-Options: nosniff
« on: June 11, 2019, 04:48:05 PM »
One of my clients has been running some tests and encountered this warning:
 "... error.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

The warning is right; the contents are html not css.   The functional implications are trivial but the warning is can be disconcerting for clients.


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: error.css X-Content-Type-Options: nosniff
« Reply #1 on: June 11, 2019, 10:14:22 PM »
do you have an error.css file in your styles folder? I'm guessing the response was a 404 error, which is HTML.

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Re: error.css X-Content-Type-Options: nosniff
« Reply #2 on: June 13, 2019, 01:10:17 PM »
Thanks, Bruce

You are probably right. But it leads to another question I will post separately.