Index: audio.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/audio/audio.module,v
retrieving revision 1.27
diff -u -r1.27 audio.module
--- audio.module	18 Nov 2005 00:32:51 -0000	1.27
+++ audio.module	2 Dec 2005 21:04:52 -0000
@@ -809,15 +809,14 @@
     $node = node_load(array('nid' => $nid));
     if (user_access('access content')) {
       $file = db_fetch_object(db_query("SELECT * FROM {files} WHERE fid=%d", $node->audio['fid']));
-      $headers = array(
-        "Pragma: public", // required
-        "Expires: 0",
-        "Cache-Control: must-revalidate, post-check=0, pre-check=0, private",
-        "Content-Type: ". $file->filemime,
-        "Content-Length: ".$file->filesize);
-        
+      $headers = array();
       if($attach) {
         array_push($headers,
+          "Pragma: public", // required
+          "Expires: 0",
+          "Cache-Control: must-revalidate, post-check=0, pre-check=0, private",
+          "Content-Type: ". $file->filemime,
+          "Content-Length: ".$file->filesize,
           "Content-Disposition: attachment; filename=\"". $file->filename ."\";",
           "Content-Transfer-Encoding: binary");
         // required for IE, otherwise Content-disposition is ignored

