mark nottingham

Safari and Content Sniffing

Wednesday, 11 January 2006

It took two years, but Apple has finally taken steps to limit Safari’s content-sniffing ways;

Safari now displays certain documents that have text/plain headers as plain text rather than treating them as HTML. — About the Mac OS X 10.4.4 Update

Why “certain” documents, though? My trivial test is handled correctly now, but what about others? What’s the heuristic now?


One Comment

Daniel E. Renfer said:

I think that may just be a confusing way of saying that out of all the documents that Safari can display, certain documents (the ones sent as ‘text/plain’) will now be displayed as plain text, not just certain ‘text/plain’-typed documents.

Tuesday, January 17 2006 at 12:19 PM