patrys/httmock — pull request #17 by simon-weber (2014-02-09 22:37:19+00:00)
Title: Fix redirect handling

This adds support for:
* mocking out a redirect
* redirecting to a mock

Basically, I just copy/pasted the redirect-handling part of `session.send` into the fake send code. I had to fake `Response.close` as well.