geemus/excon — pull request #165 by rinrinne (2012-11-16 19:28:40+00:00)
Title: No longer read body in response when CONNECT method

In Excon::Response#parse, if response status has possibility to have body, it is always read. But the response for CONNECT method has no body. It blocks socket reading. As a result, process is timeout.

To avoid this, this patch does not read any body from response for CONNECT method.