且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

了解包含多个Content-Type标头的curl POST请求命令

更新时间:2021-06-30 08:20:54

第一个 Content-Type 标头是客户端 request 标头的一部分,第二个标头是客户端的 request 标头的一部分服务器的 response 标头中的一个.请求和响应由2个CRLF分隔.请求和响应都有各自的内容类型.

The first Content-Type header is part of the client's request header and the second one is part of the server's response header. The request and the response are separated by 2 CRLFs. Request and response each have their own Content-Types.