According to https://datatracker.ietf.org/doc/html/rfc2068#section-19.7.1, an HTTP/1.0 client is allowed to have a persistent connection using the Connection: keep-alive header. This means that we should verify/check this header also for HTTP/1.0 connections, and not only for 1.1.
According to https://datatracker.ietf.org/doc/html/rfc2068#section-19.7.1, an HTTP/1.0 client is allowed to have a persistent connection using the
Connection: keep-alive
header. This means that we should verify/check this header also for HTTP/1.0 connections, and not only for 1.1.