Follow redirects on non-GET requests also.

Fixes #2808.

@Slava could you review please?
yep, done