Skip to main content

4.7. Content-Transfer-Encoding 已弃用

4.7. Content-Transfer-Encoding Deprecated

🇬🇧 英文原文

Previously, it was recommended that senders use a Content-Transfer-Encoding encoding (such as "quoted-printable") for each non-ASCII part of a multipart/form-data body because that would allow use in transports that only support a "7bit" encoding. This use is deprecated for use in contexts that support binary data such as HTTP.

Senders SHOULD NOT generate any parts with a Content-Transfer-Encoding header field.

Currently, no deployed implementations that send such bodies have been discovered.


🇨🇳 中文翻译

以前,建议发送者对 multipart/form-data 主体的每个非 ASCII 部分使用 Content-Transfer-Encoding 编码(如 "quoted-printable"),因为这将允许在仅支持 "7bit" 编码的传输中使用。这种用法在支持二进制数据的上下文(如 HTTP)中已被弃用。

发送者不应该 (SHOULD NOT) 生成任何带有 Content-Transfer-Encoding 头字段的部分。

目前,尚未发现发送此类主体的已部署实现。