ok, so I'm building an app that requires upload of mp3 files
I'm performing my validations of the uploaded mp3, to make sure it's of the right mime type.
Problem is, I"m testing it with mp3's on my computer, and i'm getting some weird results. All the mp3's I've tried have failed the validation, and I'm stepping through the app and debugging, and checking out the MIME types of the uploaded files, and for every mp3 I'm getting 'application/force-download'
can anyone shed any light on this MIME type?... from what I've read, it's got something to do with forcing the browser to download these files, but why is it showing this for all of my mp3's?, even the ones that I didn't download... Is there a way around this?, or would it be best to just include this in the validations as a valid MIME type...
cheers
I'm performing my validations of the uploaded mp3, to make sure it's of the right mime type.
Problem is, I"m testing it with mp3's on my computer, and i'm getting some weird results. All the mp3's I've tried have failed the validation, and I'm stepping through the app and debugging, and checking out the MIME types of the uploaded files, and for every mp3 I'm getting 'application/force-download'
can anyone shed any light on this MIME type?... from what I've read, it's got something to do with forcing the browser to download these files, but why is it showing this for all of my mp3's?, even the ones that I didn't download... Is there a way around this?, or would it be best to just include this in the validations as a valid MIME type...
cheers