opscode/chef — pull request #1024 by danielsdeleo (2013-10-04 01:30:13+00:00)
Title: Split Chef::REST into components.

Splits the responsibilities of Chef::REST into middleware-like classes, and extracts a base HTTP class that can be subclassed with a custom middleware stack. Aside from making the code readable and clearly delineating where things are ugly-but-exist-for-compatibility-reasons, it also will make it easier to implement persistent http, custom SSL verification behavior, etc.