Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2015-07-04 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls