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