send_nosniff_header()
Sends a HTTP header to disable content type sniffing in browsers which support it.
Хуков нет.
Возвращает
null
. Ничего.
Использование
send_nosniff_header();
Заметки
- Смотрите: https://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx
- Смотрите: https://src.chromium.org/viewvc/chrome?view=rev&revision=6985
Список изменений
С версии 3.0.0 | Введена. |
Код send_nosniff_header() send nosniff header WP 6.1.1
function send_nosniff_header() { header( 'X-Content-Type-Options: nosniff' ); }