(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 sau FALSE în cazul eșecului.
Throws HttpRuntimeException, HttpInvalidParamException.