[thelist] PHP, PDF and IE7

kasimir-k kasimir.k.lists at gmail.com
Mon Mar 12 12:07:02 CDT 2007


Bill Moseley scribeva in 12/03/2007 15:56:
> Is IE7 really looking at the file's extension to determine the content
> type instead of the content type header?

No, not instead, but in addition to.

IE7 checks the file's MIME type from the header and the extension, and 
these must match. IIRC it has also a mime magic type of sniffing, and 
that must match too.

So if you want to serve pdfs to IE7, then the files must have a .pdf 
extension.

.k



More information about the thelist mailing list