in reply to Forcing HTTP/1.0 and mangling headers

qwurx [shmem] /usr/lib/perl5/site_perl/5.8.8 > grep -r PERL_LWP_USE_HT +TP LWP $ENV{PERL_LWP_USE_HTTP_1.0} = "Yes"; # until i figure out gisle's http +1.1 stuff

Hmm. After seeing jhourcle's reply above, I see I did miss the point. But then! Whence comes the PERL_LWP_USE_HTTP_10 magic var?

--shmem

update - removed <strike> again, since it cluttered the display

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Replies are listed 'Best First'.
Re^2: Forcing HTTP/1.0 and mangling headers
by yam (Novice) on Jan 16, 2007 at 17:03 UTC
    I don't know where you got PERL_LWP_USE_HTTP_1.0, but when I look for anything like that, this is what I get:

    ceidem@eidem ~$ cd /usr/lib/perl5/site_perl/5.8/ ceidem@eidem /usr/lib/perl5/site_perl/5.8$ grep -r PERL_LWP_USE_HTTP L +WP LWP/UserAgent.pm:if ($ENV{PERL_LWP_USE_HTTP_10}) {
      Doh! My site_perl contains only LWP::Parallel, the libwww stuff resides in the vendor_perl tree:
      qwurx [shmem] /usr/lib/perl5/vendor_perl/5.8.8 > grep -r PERL_LWP_USE_ +HTTP LWP LWP/UserAgent.pm:if ($ENV{PERL_LWP_USE_HTTP_10}) {

      So the var in LWP::Parallel::UserAgent is wrong.. ;-)

      --shmem

      _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                    /\_¯/(q    /
      ----------------------------  \__(m.====·.(_("always off the crowd"))."·
      ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}