I'm very interested to hear of your experience with MIME types and
browsers. I've just written an audio_player extension[1], which uses
paperclip to deal with attaching audio files. The flash player that
I'm using can only play mp3s, so I want to limit the MIME type to that
format. I've set
jeff,
it's been my experience that the browser cannot be trusted for sending
the correct mime type upon upload. firefox (all platforms) has been a
particularly bad offender, and i know that IE does some funny stuff,
too. (i can't believe it's 2008 and this basic functionality is still
broken! on s
Finally figured out what it was.
My version of Firefox (Firefox on Kubuntu linux) didn't know the
video/x-flv mime-type so when it uploaded the file it was setting the
content type as application/octet-stream. It appears paperclipped uses
the browser mime-type to determine if the file is allow