I'm uploading a pdf via a ASP.NET web form and checking it's MIME. Sometimes the MIME is reported as applicaton/pdf, not application/pdf. Is this a browser bug? Why would application be spelled wrong?
A:
This seems to be a browser bug. Never rely on the data the client sends you - better call a local code that finds out the mime type for you.
dark_charlie
2010-07-31 20:58:59
A:
It's clearly a bug somewhere. applicaton
is not a valid IANA-listed mime directory.
Matthew Flaschen
2010-07-31 21:00:46