title: Python3 how to identify the version HTTP used by server
body: <p>I am trying to work out what version a HTTP server is running.</p>
  <p>I have seen previous posts about using requests, but requests does not seem to support version2, iy always outputs 11 for HTTP2</p>
  <pre><code>&gt;&gt;&gt; import requests
  &gt;&gt;&gt; response = requests.get(&quot;http://104.71.136.252/&quot;, timeout=60, verify=False)
  &gt;&gt;&gt; response.raw.version
  10
  &gt;&gt;&gt; response = requests.get(&quot;http://stackoverflow.com&quot;, timeout=60, verify=False)
  &gt;&gt;&gt; response.raw.version
  11
  </code></pre>