Robbie\Psr7\AbstractHttpAdapter::importHeaders
PSR-7 interfaces support multiple headers per type, whereas SilverStripe classes do not.
This method will assign headers as a comma delimited string from the PSR-7 interface to the SilverStripe class
Signature
public function importHeaders(MessageInterface
$from,
HTTPRequest|HTTPResponse
$to )
Parameters
$from
— Psr\Http\Message\MessageInterface
$to
— object