Description Usage Arguments References Examples
View source: R/parse-csp-text.R
Use fetch_csp()
to load & parse a CSP from a remote site. Use parse_csp()
to parse an already fetched or composed CSP.
1 2 3 |
csp_text |
length 1 character vector containing CSP text |
origin_url |
site to fetch CSP from or to use when just parsing a plain text (possibly already fetched) CSP |
method |
method to use fetch CSP (sites may change headers returned depending on the method used) |
Content Security Policy Level 3
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.