diff --git a/hub/ccdn.php b/hub/ccdn.php index db1a2fd..724a1f8 100644 --- a/hub/ccdn.php +++ b/hub/ccdn.php @@ -101,6 +101,10 @@ if ($pos !== false) { logextra( "Sending request to ${path}" ); +// header("Content-Type: application/jpeg"); +// header("Content-Length: " . filesize($original_filename)); +// https://hub.hackerpublicradio.org/ccdn.php?filename=/eps/hpr4537/hpr4537.mp3 +header('Content-Disposition: attachment; filename="' .$name . '"'); header("location:${path}"); ?>