request.httpVersion


在服务器请求的情况下,客户端发送的 HTTP 版本。 在客户端响应的情况下,连接到服务器的 HTTP 版本。 返回 '2.0'

message.httpVersionMajor 是第一个整数,message.httpVersionMinor 是第二个。

In case of server request, the HTTP version sent by the client. In the case of client response, the HTTP version of the connected-to server. Returns '2.0'.

Also message.httpVersionMajor is the first integer and message.httpVersionMinor is the second.