public function send()
    {
        $header = $this->buildCompleteHeader();
        $reportOnly = ($this->reportOnly) ? "-Report-Only" : "";
        header("Content-Security-Policy$reportOnly: " . $header);
        if ($this->compatible) {
            header("X-Content-Security-Policy$reportOnly: " . $header);
        }
    }
public function send()
    {
        $header = $this->buildCompleteHeader();
        $reportOnly = ($this->reportOnly) ? "-Report-Only" : "";
        header("Content-Security-Policy$reportOnly: " . $header);
        if ($this->compatible) {
            header("X-Content-Security-Policy$reportOnly: " . $header);
        }
    }
public function send ( ) { $ header = $ this -> buildCompleteHeader ( ) ; $ reportOnly = ( $ this -> reportOnly ) ? "-Report-Only" : "" ; header ( "Content-Security-Policy$reportOnly: " . $ header ) ; if ( $ this -> compatible ) { header ( "X-Content-Security-Policy$reportOnly: " . $ header ) ; } }
Build and send the complete CSP security header according to the object
specified data.
Build and send the complete CSP security header according to the object specified data .