puppetlabs/puppet — pull request #2219 by zaphod42 (2014-01-03 23:29:01+00:00)
Title: (PUP-1068) Add basic auth to HTTP Connection and HTTP Reports

This adds logic in Puppet::Reports::Http to properly handle HTTP basic auth
using the form http://username:password@host/path

In order to make this work more clearly, this also adds actual parameters
to the connection class's #get, #post, etc methods. The defaults are taken
from the Net::HTTP defaults, which is what would have been used before.