Update picoFarad
This commit is contained in:
parent
d60f47899f
commit
a8bc06eb2f
12
miniflux/vendor/PicoFarad/Response.php
vendored
12
miniflux/vendor/PicoFarad/Response.php
vendored
@ -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())
|
||||
{
|
||||
$policies['default-src'] = "'self'";
|
||||
|
Loading…
Reference in New Issue
Block a user