mono/mono — pull request #392 by baulig (2012-07-16 23:16:13+00:00)
Title: HttpClient: Check errors, fix tests on Windows.

* HttpClient: GetStringAsync(), GetByteArrayAsync() and GetStreamAsync() must check for a success status code.

* HttpClientHandler: Propagate AllowAutoRedirect=false to the underlying HttpWebRequest

* Make the test suite pass with the .NET runtime on Windows.