-
Notifications
You must be signed in to change notification settings - Fork 716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docs Bug] "Unneeded HTTP headers" is not very descriptive. #2626
Comments
Good point, though I do like preserving something indicating the headers are unnecessary. Granted with our recent changes in #2618 even the ID of the hint may be slightly out of alignment as a few other content types in addition to HTML are now involved, but I'll hold off recommending an ID change just yet as that should get more consistent once we break the CSP headers into a separate hint per #25. Perhaps something closer to the ID like "HTML-only HTTP headers" would get the point across. Still slightly inaccurate in the short-term, but I can live with that. |
(My feedback was requested, so I'll chime in) The concern is that a lot of people running scanning tools are not experienced engineers. I mean that in 3 senses:
Personally, I am lead developer of a CMS that novice users will deploy to manage their websites, and run these kinds of tools. So I am particularly sensitive to being the target of people thinking things are bugs, when really they are well-considered design decisions. "Microsoft knows better than you". I don't have any problem with overly-zealous/false-positive errors in a tool though so long as these 3 principles are met: |
Even though Microsoft contributes a lot of resources, this is an OpenJS Foundation project with an open governance. We really want to get feedback from all the community (not only browser vendors) to make sure we cover as much as possible and have in consideration cases like yours. So sincerely thank you for taking the time to write all of this comments.
That's the main reason why we avoid given a score or anything similar 😞 Definitely agree with your points above. We've tried following a similar approach with the severity changes:
With the latest release the reports now have a I've created #3437 so users can easily find out what each level means and if they should fix it right away or not. |
https://github.com/webhintio/hint/blob/master/packages/hint-no-html-only-headers/README.md
While visiting the corresponding URL on the webhint website, the headline "Unneeded HTTP headers" gave me a feeling of urgency to start removing headers, lol.
The text was updated successfully, but these errors were encountered: