Skip to content

Instantly share code, notes, and snippets.

@cmbuckley
Last active September 29, 2022 00:39
Show Gist options
  • Save cmbuckley/c05a17f282ebb6642ff15cce8b16c3e6 to your computer and use it in GitHub Desktop.
Save cmbuckley/c05a17f282ebb6642ff15cce8b16c3e6 to your computer and use it in GitHub Desktop.
<?php
$headers = [
"Content-Security-Policy: style-src 'self'",
"Content-Type: application/json",
];
foreach ($headers as $header) {
header($header);
}
echo json_encode([
'headers' => $headers,
'src' => 'https://gist.github.com/cmbuckley/c05a17f282ebb6642ff15cce8b16c3e6',
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment