Does a URL have a content security policy?

has_csp(URL, method = c("head", "get"))

Arguments

URL

URL

method

method to use fetch CSP (sites may change headers returned depending on the method used)

Examples

# NOT RUN {
has_csp("https://rud.is/")
# }