Rodster001 has asked for the wisdom of the Perl Monks concerning the following question:

Greetings Monks,

Does LWP support the HTTP/2.0 protocol yet? I am trying to connect to a server which ONLY accepts 2.0 requests and my connection fails. My current setup is:
use LWP::UserAgent; use LWP::Protocol::https; use IO::Socket::SSL;
When connecting to the remote host I get the following response:
Unexpected HTTP/1.x request: POST /
Any help would be greatly appreciated!

Replies are listed 'Best First'.
Re: LWP and HTTP/2
by 1nickt (Canon) on Dec 22, 2017 at 21:33 UTC
      I found that. But I don't like it much :) LWP makes life easy and I'm lazy. But maybe that's the route I have to go.

      EDIT: Well after reading a bit and getting a better understanding of HTTP/2 it seems the new protocol is probably out of scope for LWP. So, looks like I'll go this route, thanks