What exactly have you done? A quick check of the source makes me think this should be pretty straight forward. LPW::UserAgent has this piece of code
if ($ENV{PERL_LWP_USE_HTTP_10}) { require LWP::Protocol::http10; LWP::Protocol::implementor('http', 'LWP::Protocol::http10'); eval { require LWP::Protocol::https10; LWP::Protocol::implementor('https', 'LWP::Protocol::https10'); }; }
which loads the respective module if the environment variable is set/true. This is the only occurrence of the variable in the entire LWP distribution, and the CPAN module/shell doesn't seem to touch the variable either...
From that, I'd figure you've either somehow set it incorrectly, or LWP::UserAgent isn't being used to make the connection.
Anyhow, for debugging purposes (or as a last resort), you could simply modify that line to read (you find it near the top of UserAgent.pm)
if (1 or $ENV{PERL_LWP_USE_HTTP_10}) { # always true ...
and see what happens then...
In reply to Re^3: Strawberry CPAN via HTTP/1.0
by Eliya
in thread Strawberry CPAN via HTTP/1.0
by murky_cat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |