use LWP::Protocol::http ; push(@LWP::Protocol::http::EXTRA_SOCK_OPTS, PeerHTTPVersion => 1.1) ; #### my @ns_headers = ( 'Connection' => 'Keep-Alive', ... }