Skip Menu |

This queue is for tickets about the POE-Component-Client-HTTP CPAN distribution.

Report information
The Basics
Id: 61728
Status: stalled
Priority: 0/
Queue: POE-Component-Client-HTTP

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.895
Fixed in: (no value)



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/
Hi, Olivier. Thanks for the bug report. Unfortunately I don't know when I'll have a chance to get to this. I hope someone comes along with a patch in the meantime. -- Rocco On Tue Sep 28 13:18:10 2010, DOLMEN wrote: Show quoted text
> 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 >