SoupContentSniffer

Sniffs the mime type of messages.

A #SoupContentSniffer tries to detect the actual content type of the files that are being downloaded by looking at some of the data before the class@Message emits its signal@Message::got-headers signal. #SoupContentSniffer implements iface@SessionFeature, so you can add content sniffing to a session with soup.session.Session.addFeature or soup.session.Session.addFeatureByType.

struct SoupContentSniffer