in reply to How to remove HTTP Keep-Alive 300 header from LWP::UserAgent request

Why?

You tell LWP you want keep_alive but then you dont want the header? Those goals are contradictory

  • Comment on Re: How to remove HTTP Keep-Alive 300 header from LWP::UserAgent request

Replies are listed 'Best First'.
Re^2: How to remove HTTP Keep-Alive 300 header from LWP::UserAgent request
by Veltro (Hermit) on Apr 24, 2018 at 22:18 UTC
    I'll clarify. There are two different things:
    1. Connection: keep-alive
    2. Keep-Alive 300
    I don't want 2

      I'll clarify. There are two different things: 1. Connection: keep-alive 2. Keep-Alive 300 I don't want 2

      :)

      That doesn't explain why "Keep-Alive: 300" need to be removed.

      Maybe you can teach LWP something about HTTP.

      So please explain why, thats my price for showing you how.

        "...teach LWP something about HTTP...thats my price for showing you how"

        Congratulations! You have been just suggested for the PM Arrogancy Award 2018 AKA Dr Wisenheimer Price.

        «The Crux of the Biscuit is the Apostrophe»

        perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help