Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: downloading an mp3 file through a Perl script

by vladb (Vicar)
on Feb 09, 2006 at 19:42 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-25 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found