There's more than one way to do things | |
PerlMonks |
Re^3: How to remove HTTP Keep-Alive 300 header from LWP::UserAgent requestby jeffenstein (Hermit) |
on Apr 26, 2018 at 15:41 UTC ( [id://1213620]=note: print w/replies, xml ) | Need Help?? |
The actual code that adds the header is in Net::HTTP::Methods, at line 180 in the current version.
So, I would guess that Net::HTTP believes your connection is http/1.0, and is therefore sending the http/1.0 header. If it's not, maybe you can make a bug report against the module?
In Section
Seekers of Perl Wisdom
|
|