You are here

public function HttpClientCompositeFormatter::contentType in Http Client 7.2

Same name and namespace in other branches
  1. 6.2 includes/HttpClient.inc \HttpClientCompositeFormatter::contentType()

Return the content type form the data the formatter generates.

Overrides HttpClientFormatter::contentType

File

includes/HttpClient.inc, line 474

Class

HttpClientCompositeFormatter
A utility formatter to use for creating assymetrical http client formatters.

Code

public function contentType() {
  return $this->send
    ->mimeType();
}