Use $response instead of $request.
Merge pull request #51 from TheFox/master

Use $response instead of $request.