in reply to Re: LWP::UserAgent Wrongly Uses HTTP/1.1
in thread LWP::UserAgent Wrongly Uses HTTP/1.1

Hmmmm....I see what you're saying I think, but if I set the request object to use 1.0, shouldn't it be calling on LWP::Protocol::http10.pm instead of http.pm?
  • Comment on Re: Re: LWP::UserAgent Wrongly Uses HTTP/1.1

Replies are listed 'Best First'.
Re: Re: Re: LWP::UserAgent Wrongly Uses HTTP/1.1
by edan (Curate) on Nov 20, 2003 at 13:31 UTC

    Hmm... I did all my investigation on LWP::UserAgent version 2.1 which comes with 5.6.1. Perhaps it's all wrong for the version that comes with 5.8.0. But from looking through the docs, you can get LWP to use http10.pm by setting the PERL_LWP_USE_HTTP_10 environment variable to something TRUE. Perhaps try that, and see if it solves your problem...

    --
    3dan