function _seckit_x_content_type_options in Security Kit 6
Sends X-Content-Type-Options HTTP response header.
1 call to _seckit_x_content_type_options()
- seckit_init in ./
seckit.module - Implements hook_init().
File
- ./
seckit.module, line 352 - Allows administrators to improve security of the website.
Code
function _seckit_x_content_type_options() {
drupal_set_header('X-Content-Type-Options: nosniff');
}