public function EntityBodyInterface::getContentType

Guess the Content-Type or return the default application/octet-stream

Return value

string

See also

http://www.php.net/manual/en/function.finfo-open.php

2 methods override EntityBodyInterface::getContentType()
AbstractEntityBodyDecorator::getContentType in drupal/core/vendor/guzzle/http/Guzzle/Http/AbstractEntityBodyDecorator.php
Guess the Content-Type or return the default application/octet-stream
EntityBody::getContentType in drupal/core/vendor/guzzle/http/Guzzle/Http/EntityBody.php
Guess the Content-Type or return the default application/octet-stream

File

drupal/core/vendor/guzzle/http/Guzzle/Http/EntityBodyInterface.php, line 55

Class

EntityBodyInterface
Entity body used with an HTTP request or response

Namespace

Guzzle\Http

Code

public function getContentType();