Get the raw message headers as a string
string
Overrides MessageInterface::getRawHeaders
public function getRawHeaders() {
$protocolVersion = $this->protocolVersion ?: '1.1';
return trim($this->method . ' ' . $this
->getResource()) . ' ' . strtoupper(str_replace('https', 'http', $this->url
->getScheme())) . '/' . $protocolVersion . "\r\n" . implode("\r\n", $this
->getHeaderLines());
}