It should also be noted that 'most' systems that play back content will correctly run an mp3, even if it is incorrectly named '.wav', so appending it might work with both, even if wrong. Other formats...
The "let me guess what the file is from the internals, instead of supplying me with actually information about what it "should" be" is a Microsoft aberration. In general, its safer to 'tell' an application what it is looking at, not expect it to guess. Though, the most common case of it causing problems it trying to download a .zip from a site running and MS server, which incorrectly uses the default "text" type. Any non-MS browser assume that the type is right, and tries to display it, instead of downloading it. Can drive a person totally nuts and also creates a 'huge' security hole, since the OS can take a file that looks like .zip, decide its a .mp3 when it arrives, from the file name, try to play it and suddenly decide that no, its a .avi, with some imbedded HTML, which then loads a web page, probably without you having the slightest idea it happened. Not real great design... And MSP having been created first for use on Windows applications, continues this insane trend. :p |