kriswallsmith/Buzz — pull request #162 by egeloen (2014-08-01 22:16:23+00:00)
Title: [Client][Stream] Fix max redirects

Hey!

This PR fixes an issue with max redirects on the stream client. Basically, if you read the [doc](http://php.net/manual/en/context.http.php#context.http.max-redirects) about max redirects, it explains `Value 1 or less means that no redirects are followed.` (Pretty not intuitive but it's how it works...) So, if you configure the stream client to follow one redirect, it will not follow it whereas the curl client will. So, this PR rationalizes the behavior between the different clients.