raoulmillais/node-7digital-api — pull request #53 by actionshrimp (2014-08-04 14:00:53+00:00)
Title: Null responses when cached

Fix for #52.

The response object is not necessarily returned if the cache is hit, which causes an error "Cannot read property 'headers' of undefined". Check if the response is present before adding the location to the parsed object.