#!/usr/bin/env python3 import sys sys.stdout.write( 'Content-Security-Policy: script-src \'self\'; report-uri //127.0.0.1:8080/security/contentSecurityPolicy/resources/save-report.py\r\n' 'Content-Type: text/html\r\n\r\n' '\n' '\n' '\n' )