opscode/chef — pull request #1112 by danielsdeleo (2013-11-05 20:54:13+00:00)
Title: Pass custom headers when following redirects

Fixes https://tickets.opscode.com/browse/CHEF-1848 for 10-stable.

The most direct route to unit test this behavior given the existing code base is via "test spies" which is the `and_call_original` method in rspec. In order to use this feature, I had to upgrade rspec to a newer version.