I am creating a file upload utlity very similar to this one: http://authors.aspalliance.com/das/tutorial/test/fileupload2.aspx
If I upload a simple .txt file the "Content-Type" (FileUpLoad1.PostedFile.Co
differs between Firefox and IE:
IE displays "Content type: text/plain"
Firefox displays "Content type: application/save-as"
The problem is that we are going to be storing the files uploaded by the user into a DB and we need to save the content type so that we can stream it properly back to the browser when they go to download the file again from the DB. With Firefox and IE returning different content types, I can only imagine this will cause problems down the line.
Is this by design? Or will this cause problems later on?