Let curl follow redirects for Python and Ruby.

Reverting the previous change.