palmerabollo/node-smartdc — pull request #2 by anabelengp (2013-07-04 06:45:39+00:00)
Title: Store the headers in cache. Return headers only when there was any res.

Store the returned headers along with the returned data of the body so that any call to CloudApi._get, with or without cache, returns the response headers. Call the callback with res.headers only if there was a response from the remote endpoint.