【问题标题】:What's the encoding of the content of an HTTP request?HTTP 请求内容的编码是什么?
【发布时间】:2010-03-24 13:14:15
【问题描述】:

这是定义的吗?还是设置了一个header,类似于HTTP-response?

【问题讨论】:

    标签: http encoding httprequest


    【解决方案1】:

    是的,HTTP 请求可以具有 Content-Type 和 Content-Encoding 标头,其方式与 HTTP 响应完全相同

    【讨论】:

    • 例如 POST / HTTP/1.1\r\nContent-Type: text/xml\r\nConnection: close\r\n\r\n .我对吗?这就是您所说的在请求中发送内容类型吗???
    • 或者甚至可以是这个应用程序/x-www-form-urlencoded ...不是吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-02-04
    • 2021-06-11
    • 1970-01-01
    • 2012-05-08
    • 1970-01-01
    • 1970-01-01
    • 2019-01-17
    相关资源
    最近更新 更多