google/google-api-php-client — pull request #122 by mishan (2014-03-09 20:14:54+00:00)
Title: Make sure Google_IO_{Curl,Stream} setOptions allows overriding defaults

Adjusting setOptions() per Hector Virgen's points. The previous way would not allow overriding that which was already set in $this->options -- writing it this way ensures $options' contents take precedence.