Class CSPDetector


  • class CSPDetector
    extends Object
    Check user-agent for support of CSP
    Since:
    0.9.62
    • Constructor Detail

      • CSPDetector

        CSPDetector()
    • Method Detail

      • supportsCSP

        public static boolean supportsCSP​(String ua)
        ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy