puppetlabs/puppet — pull request #1721 by masterzen (2013-06-23 14:05:38+00:00)
Title: (#18255) - Follow http redirections

This patch adds support for HTTP redirection in the Puppet HTTP
client.

The http client includes a redirection limit, and recreate the
redirected connection with the same certificates and store as the
original (as long as the redirect new location is ssl protected).
It doesn't follow redirection for POST requests though.

Signed-off-by: Brice Figureau