Temporary fix to make enclosure urls iTunes compatible

This commit is contained in:
Duncan Sommerville 2015-11-17 21:06:51 -05:00
parent ef87ad8a51
commit eae8c7b638
4 changed files with 25 additions and 8 deletions

View file

@ -535,13 +535,13 @@ class ApiController extends Zend_Controller_Action
$mime_type = finfo_buffer($f, $blob, FILEINFO_MIME_TYPE);
finfo_close($f);
header("Content-type: " . $mime_type);
header("Content-Type: " . $mime_type);
echo $blob;
} else {
header('HTTP/1.0 401 Unauthorized');
print _('You are not allowed to access this resource. ');
print _('You are not allowed to access this resource.');
exit;
}
}
}
public function scheduleAction()