Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
[itemized_list [ If `b` is `true`, the "chunked" token is appended to the list of encodings if it does not already appear last in the list. If the Transfer-Encoding field is absent, the field will be inserted to the container with the value "chunked". ][ If `b` is `false, the "chunked" token is removed from the list of encodings if it appears last in the list. If the result of the removal leaves the list of encodings empty, the Transfer-Encoding field shall not appear when the associated __FieldsWriter__ serializes the fields. ]]
If the result of adjusting the field value produces an empty string, the field is removed from the container.
Adjusts the根据 [@https://tools.ietf.org/html/rfc7230#section-3.3.1 [*Transfer-Encoding]]field value as follows:
字段值进行调整:[itemized_list [ If
- 如果 `b`
is为 `true`, the,且 "chunked"token is appended to the list of encodings if it does not already appear last in the list. If the Transfer-Encoding field is absent, the field will be inserted to the container with the value标记尚未位于编码列表末尾,则将其追加到列表末尾。如果不存在 Transfer-Encoding 字段,则向容器插入该字段,其值为 "chunked". ][ If。- 如果 `b`
is为 `false, the`,且 "chunked"token is removed from the list of encodings if it appears last in the list. If the result of the removal leaves the list of encodings empty, the Transfer-Encoding field shall not appear when the associated __FieldsWriter__ serializes the fields. ]]
标记位于编码列表末尾,则将其从列表中移除。如果移除后编码列表为空,则当关联的 `__FieldsWriter__` 序列化字段时,Transfer-Encoding 字段不应出现。If the result of adjusting the field value produces an empty string, the field is removed from the container.
如果调整字段值的结果产生空字符串,则从容器中移除该字段。