SimplePie_Content_Type_Sniffer

SummerySummery

Content-type sniffing

Syntax

SimplePie_Content_Type_Sniffer

DescriptionDescription

Based on the rules in http://tools.ietf.org/html/draft-abarth-mime-sniff-06

This is used since we can’t always trust Content-Type headers, and is based upon the HTML5 parsing rules.

This class can be overloaded with SimplePie::set_content_type_sniffer_class()

SourceSource

File: wp-includes/SimplePie/Content/Type/Sniffer.php


			
Scroll to Top