Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send
X-Frame-Options
header only for web pages
Sending the `X-Frame-Options` header for everything by default, doesn't bring any value when it comes to providing clickjacking protection. Even if some developers may want to send this header for some other content (e.g. images) to block websites from using it, for the majority, that won't be the case. Ref: #8 #9
- Loading branch information
Showing
2 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters