【发布时间】:2020-09-15 20:27:20
【问题描述】:
根据 RFC 链接,Hypertext Transfer Protocol -- HTTP/1.1content-type 定义为
Content-Type = "Content-Type" ":" media-type
媒体类型定义为
media-type = type "/" subtype *( ";" parameter )
type = token
subtype = token
所以,按照这个
ContentType: application/soap+xml; charset=utf-8
是有效的。 ContentType 可以有多个参数吗?例如:
ContentType: application/soap+xml; charset=utf-8; action="urn:CreateCredential"
问候
【问题讨论】:
标签: http response-headers