message.httpVersion


在服务器请求的情况下,由客户端发送的 HTTP 版本。在客户端响应的情况下,为所连接服务器的 HTTP 版本。可能是 '1.1' 或 '1.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. Probably either '1.1' or '1.0'.】

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

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