Sniffs buffer
to determine its Content-Type.
The result may also be influenced by the Content-Type declared in msg
's response headers.
this | |
msg |
the message to sniff |
buffer |
a buffer containing the start of |
params |
return location for Content-Type parameters (eg, "charset"), or null |
the sniffed Content-Type of |