libwww-perl/libwww-perl — pull request #56 by thoke (2014-05-19 17:44:28+00:00)
Title: Allow use of $ua->credentials for specifying basic auth to a proxy.

Pass $request->headers so credentials are also passed (allowing for non-basic
auth).
Also return the response so that the proper HTTP status code is propagated throught the call stack. By passing back the response, status 407 can be handled for authentication.