Sobes.tech
Intern

Which version of HTTP are we currently using?

sobes.tech AI

Answer from AI

HTTP/1.1. Despite the existence of HTTP/2 and HTTP/3, HTTP/1.1 remains the most widely used version of the web protocol.

Main differences:

Feature HTTP/1.1 HTTP/2 HTTP/3
Transport protocol TCP TCP QUIC (built on UDP)
Parallelism Sequential requests, Persistent Connections Multiplexing (one TCP connection) Stream-level in QUIC
Header compression No Uses HPACK Uses QPACK
Prioritization Limited Extended Built into QUIC
Server Push No Yes Yes (in QUIC)
# Example of a simple request using HTTP/1.1 (requests library)
import requests

url = "https://www.google.com"
response = requests.get(url)

print(f"HTTP version used: {response.raw.version}")
Which version of HTTP are we currently using? — Python - sobes.tech