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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.