php-vcr
php-vcr copied to clipboard
Fix issue if multiple headers are returned
Context
If multiple headers are returned the and CURLOPT_HEADER is set to false the first header will be removed but the response contains all other headers.
What has been done
- Removes all headers expect the last one.
How to test
- The behavior can be discovered by a curl request which returns multiple headers.