send_nosniff_header() WordPress Function

The send_nosniff_header() function is a security measure that tells the browser not to sniff the content-type of a file. This can be helpful in preventing certain types of attacks, such as cross-site scripting (XSS).

send_nosniff_header() #

Send a HTTP header to disable content type sniffing in browsers which support it.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More