Content-Transfer-Encoding
时间: 2024-01-18 22:02:25 浏览: 163
Content-Transfer-Encoding是一个HTTP报文头部域,用于描述内容在传输过程中的编码格式。它主要用于在传输巨大的二进制数据和便于阅读的编码数据之间进行折中。
Content-Transfer-Encoding支持多种数据格式,包括BASE64, QUOTED-PRINTABLE, 8BIT, 7BIT, BINARY, X-TOKEN。这些值是大小写不敏感的。默认情况下,如果不设置Content-Transfer-Encoding的话,默认是7BIT编码,表示所有的数据以ASCII格式编码。而8BIT编码则可以包含非ASCII字符。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [HTTP 协议中的 Content-Encoding 和 Transfer-Encoding(内容编码和传输编码)](https://blog.csdn.net/weixin_33775582/article/details/86210545)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [HTTP头中的Content-Transfer-Encoding](https://blog.csdn.net/foolish0421/article/details/73302336)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文