{"id":394,"date":"2008-07-02T23:13:08","date_gmt":"2008-07-02T21:13:08","guid":{"rendered":"http:\/\/daniel.haxx.se\/blog\/?p=394"},"modified":"2008-07-02T23:22:10","modified_gmt":"2008-07-02T21:22:10","slug":"this-is-the-type-and-i-mean-it","status":"publish","type":"post","link":"https:\/\/daniel.haxx.se\/blog\/2008\/07\/02\/this-is-the-type-and-i-mean-it\/","title":{"rendered":"This is the type and I mean it"},"content":{"rendered":"<p>So <a href=\"http:\/\/lists.w3.org\/Archives\/Public\/ietf-http-wg\/2008JulSep\/0002.html\">someone pointed out<\/a> this <a href=\"http:\/\/blogs.msdn.com\/ie\/archive\/2008\/07\/02\/ie8-security-part-v-comprehensive-protection.aspx\">IEBlog entry<\/a> for me, and I find it so hilarious I felt a need to share the fun. See the &#8220;<em>MIME-Handling: Sniffing Opt-Out<\/em>&#8221; paragraph towards the end.<\/p>\n<p>Apparently Internet Explorer 7 and earlier just don&#8217;t care much for the Content-Type: header that servers reply, but they instead scan the body and guess what type it is. Thus &#8220;knowing better&#8221; than the content provider what content it truly is.<\/p>\n<p>So in IE8 they&#8217;re (according to that blog entry) introducing a new attribute to the Content-Type header. If the site also sets &#8220;<em>authoritative=true<\/em>&#8221; it means it really means the type and the browser will then actually believe the site. I can&#8217;t stop giggling.<\/p>\n<p>And yeah, some of the other craziness on that page is also good reading and they truly make you wonder what they are smoking during their brain storm meetings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So someone pointed out this IEBlog entry for me, and I find it so hilarious I felt a need to share the fun. See the &#8220;MIME-Handling: Sniffing Opt-Out&#8221; paragraph towards the end. Apparently Internet Explorer 7 and earlier just don&#8217;t care much for the Content-Type: header that servers reply, but they instead scan the body &hellip; <a href=\"https:\/\/daniel.haxx.se\/blog\/2008\/07\/02\/this-is-the-type-and-i-mean-it\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">This is the type and I mean it<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[226,426],"class_list":["post-394","post","type-post","status-publish","format-standard","hentry","category-web","tag-ie","tag-web"],"_links":{"self":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/comments?post=394"}],"version-history":[{"count":0,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/394\/revisions"}],"wp:attachment":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/media?parent=394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/categories?post=394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/tags?post=394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}