views:

30

answers:

2

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
A: 

It's clearly a bug somewhere. applicaton is not a valid IANA-listed mime directory.

Matthew Flaschen