Skip to content
Snippets Groups Projects
Commit fdb4b175 authored by llaffont's avatar llaffont
Browse files

Correction header Content-Lenght sur la playlist XSPF

parent 32dc4e47
Branches
Tags
No related merge requests found
......@@ -55,7 +55,6 @@ class BibNumeriqueController extends Zend_Controller_Action {
$response->setHeader('Content-Type', 'application/xspf+xml; name="' . $album->getId(). '.xspf"', true);
$response->setHeader('Content-Disposition', 'attachment; filename="' . $album->getId(). '.xspf"', true);
$response->setHeader('Content-Transfer-Encoding', 'base64', true);
$response->setHeader('Content-Length', count($playlist), true);
$response->setHeader('Expires', '0');
$response->setHeader('Cache-Control', 'no-cache, must-revalidate');
$response->setHeader('Pragma', 'no-cache');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment