src/VCR/Util/HttpUtil.php
public static function formatAsStatusWithHeadersString(Response $response)
    {
        $headers = self::formatHeadersForCurl($response->getHeaders());
        array_unshift($headers, self::formatAsStatusString($response));
        return join("\r\n", $headers) . "\r\n\r\n";
    }
public static function formatAsStatusWithHeadersString(Response $response)
    {
        $headers = self::formatHeadersForCurl($response->getHeaders());
        array_unshift($headers, self::formatAsStatusString($response));
        return join("\r\n", $headers) . "\r\n\r\n";
    }
public static function formatAsStatusWithHeadersString ( Response $ response ) { $ headers = self :: formatHeadersForCurl ( $ response -> getHeaders ( ) ) ; array_unshift ( $ headers , self :: formatAsStatusString ( $ response ) ) ; return join ( "\r\n" , $ headers ) . "\r\n\r\n" ; }
Returns a HTTP status line with headers from specified response.

@param Response $response
@return string HTTP status line.
Returns a HTTP status line with headers from specified response .