IHTTPResult::getContentType is now a string again
This commit is contained in:
parent
02bc99f67b
commit
40b11442c2
9 changed files with 23 additions and 27 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