Follow redirects on non-GET requests also.

Fixes #2808.

@Slava could you review please?
I don't think so -- I assume this is the method of the second request (the one that is made by following the redirect), which would be a GET request even though the original request is a POST.