CodeQL library for JavaScript
Search

Predicate ReflectedXss::getANonHtmlHeaderDefinition

Gets a HeaderDefinition that defines a non-html content-type for send.

Import path

import semmle.javascript.security.dataflow.Xss
HeaderDefinition getANonHtmlHeaderDefinition(ResponseSendArgument send)