kriswallsmith/Buzz — pull request #128 by sveriger (2013-06-04 13:07:27+00:00)
Title: Remove the "HTTP/1.0 200 Connection established" string from the respons...

At my company, when using cURL, we always need to go through a proxy. The problem is that when a request goes through a proxy, the first line of the response always includes:

HTTP/1.0 200 Connection established

If this string is included in the response, the response is not correctly parsed in populateResponse.

An example:

A typical response when we go through a proxy:

HTTP/1.0 200 Connection established

HTTP/1.1 404 Not Found
Server: Apache-Coyote/1.1
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Length: 13
Date: Wed, 13 Feb 2013 16:36:43 GMT