lostisland/sawyer — pull request #15 by elskwid (2013-10-27 00:07:18+00:00)
Title: Add raw response body to Sawyer::Response

I recently had need of the raw body when working with Octokit without any of the filtering or processing from Sawyer. I ended up with a little monkey patch that essentially did what this PR does. All tests are green.

Thanks for a great project!

--
Provides access to the raw response body as `Response#body`. The addition of
the response body gives added symmetry to the reponse object since we can
get to the headers, status, env, etc.