shuber / curl

A basic CURL wrapper for PHP
MIT License
462 stars 179 forks source link

multiple headers cause wrong $reponse->body wrong #15

Open loglogpro opened 9 years ago

loglogpro commented 9 years ago

When a url return content by redirect once. The response will have two headers. And the CurlReponse just preg_match one header. and the other exists in the $reponse->body. I thought it's a bug.

Thank U.

ATouhou commented 8 years ago

Yea...