(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 或者在失败时返回 FALSE.
Throws HttpRuntimeException, HttpInvalidParamException.