(PECL pecl_http >= 1.0.0)
HttpMessage::guessContentType — Guess content type
Attempts to guess the content type of the message body through libmagic.
the magic.mime database to use
flags for libmagic
Returns the guessed content type on success, or FALSE on failure.
Throws HttpRuntimeException, HttpInvalidParamException.