Subject: | $ENV{http_proxy} with user/passwd for authentication |
P::C::C::H does not implement authentification using information from
$ENV{http_proxy}
The $ENV{http_proxy} format is
qr[http://(${username}(:${password})?@)?${hostfqdn}(:${port})?/?]
Currently it tries to use "$username:$password@$hostfqdn" as a proxy
hostname. Of course, that fails.
P::C::C::H should:
- extract the $username and $password parts from $env{http_proxy}
- use that information to send Proxy-Authorization header in case of
status 407 with Proxy-Authenticate header
HTTP authentication reference :
http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-11
--
Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/