charlesthomas/magpie — pull request #15 by Erwyn (2014-06-21 10:18:27+00:00)
Title: Pass redirection as callback

Passing redirection as a callback function prevents it to be called before POST request has been issued. Otherwise, on slow networks, redirection is effective before POST request and it leads to an internal server error at best or really strange behaviour at worst.