Q:

How can I alter the default behavior of a link to an mp3 file?

I'd like to alter the default behavior of a link that points to an mp3 file. All major browsers always open and play this mp3 file in a new window, and I'd like instead that this file be offered as a download by the browser.
¿Any Idea?
Thanks!!

A:

If you control the server hosting the mp3, try serving it as Content-Type: application/octet-stream. and Content-disposition: attachment.

