commit | 7d07dc77af7a183d6edc1e4a81de29353cfdb5f9 | [log] [tgz] |
---|---|---|
author | Martin Goyot <martin@piwany.com> | Sat Jun 21 12:18:17 2014 +0200 |
committer | Martin Goyot <martin@piwany.com> | Sat Jun 21 12:18:17 2014 +0200 |
tree | 8d74ce145b107a64f843e2233f7773abb5faa323 | |
parent | 0a01ab126cd809f7b458be8d3fd46700081a2abb [diff] |
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.