Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
[itemized_list [ If `(v < 11)` the function returns `true` if the "keep-alive" token is present in the Connection field value. Otherwise the function returns `false`. ][ If `(v == 11)`, the function returns `false` if the "close" token is present in the Connection field value. Otherwise the function returns `true`. ]]
Returns `true` if the semantics of the如果 [@https://tools.ietf.org/html/rfc7230#section-6.1 [*Connection]]field and version indicate that the connection should remain open after the corresponding response is transmitted or received:
字段的语义和版本表明,在发送或接收相应响应后连接应保持打开,则返回 true:[itemized_list [
If `如果 (v < 11)` the function returns `true` if the "keep-alive" token is present in the Connection field value. Otherwise the function returns `,当 Connection 字段值中存在 "keep-alive" 标记时函数返回 true,否则返回 false`.。 ][If `如果 (v == 11)`, the function returns `false` if the "close" token is present in the Connection field value. Otherwise the function returns `,当 Connection 字段值中存在 "close" 标记时函数返回 false,否则返回 true`.。 ]]