Update picoFarad

This commit is contained in:
Frederic Guillot 2013-03-24 10:30:55 -04:00
parent d60f47899f
commit a8bc06eb2f

View File

@ -73,6 +73,18 @@ function xml($data, $status_code = 200)
} }
function binary($data, $status_code = 200)
{
status($status_code);
header('Content-Transfer-Encoding: binary');
header('Content-Type: application/octet-stream');
echo $data;
exit;
}
function csp(array $policies = array()) function csp(array $policies = array())
{ {
$policies['default-src'] = "'self'"; $policies['default-src'] = "'self'";