ruby/ruby — pull request #520 by rodrigosaito (2014-01-30 23:28:16+00:00)
Title: Fix for using send_request with HEAD

The 3rd parameter on HTTPGenericRequest.new means if a request has a response body. When using send_request and passing "HEAD" as the first parameters it fails while trying to read the response body.

I got the fix, but I couldn't find a way to create a test for this.

I will be glad to update this PR if someone could give me the directions to create this test.