PR: update on URI module, retrieve filename on redirected urls

FYI

I updated the uri module to retrieve the remote file name first when the initial url gets redirected.

https://github.com/ansible/ansible/pull/2630

I tested a couple of use cases, and all seemed fine in the end, though some more testing might be needed.

Serge

Thanks for the note Serge, I’ll run you’re updated URI module through some of the different items I use it for to make sure they still work, but eyeballing (and looking at the httplib2 docs) seems to indicate that your modifications look good.

Romeo