IHTTPResult::getContentType is now a string again
This commit is contained in:
parent
82f767f2ee
commit
26401e88b8
9 changed files with 22 additions and 26 deletions
|
|
@ -88,7 +88,7 @@ class GuzzleResponse extends Response implements IHTTPResult, ResponseInterface
|
|||
/** {@inheritDoc} */
|
||||
public function getContentType()
|
||||
{
|
||||
return $this->getHeader('Content-Type');
|
||||
return implode($this->getHeader('Content-Type'));
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue