Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: downloading an mp3 file through a Perl script

by vladb (Vicar)
on Feb 09, 2006 at 19:42 UTC ( #529173=note: print w/replies, xml ) Need Help??

in reply to downloading an mp3 file through a Perl script

Try adding mp3 content type header:
Content-type: audio/mp3
It is likely that some of your users' IE browser would default to a document type unless one is explicitly specified.
Update: didn't realize you half answered your own question there, heh!

"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce
the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true."

Robert Wilensky, University of California

  • Comment on Re: downloading an mp3 file through a Perl script

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://529173]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2016-10-23 08:59 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (300 votes). Check out past polls.