php-vcr icon indicating copy to clipboard operation
php-vcr copied to clipboard

Fix issue if multiple headers are returned

Open GM-Alex opened this issue 8 years ago • 0 comments

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.

GM-Alex avatar Jul 28 '17 12:07 GM-Alex