request.httpVersion


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

【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'.】

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

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