opscode/chef — pull request #1132 by jamesc (2013-11-18 02:41:21+00:00)
Title: raw_http_request was aliased to send_http_request

This was below the level of the middleware being applied in `Chef::HTTP`.

This patch makes raw_http_request behave like request, except the only
middleware that is applied is the AuthN for talking to the chef server.

This is the simplest patch I could do that fixes the problem. I also have a branch jc/OC-10471/reporting-11.8 which goes the alternative route of using two HTTP sub-classes to handle the gzip/non-gzip cases. Unfortunately with this I either have to the two server api instances up to Chef::Client during the creation of ResourceReporter (which seems to break isolation) or have to remove tests since they mock out the `rest_client` to check what is send to/from the server.