New option "resolveWithFullResponse" (defaults to false) passes the response instead of the body to the resolution function
Merge pull request #12 from cwinters/resolve-with-response

Optionally resolve promise with full response object instead of the body