逗号分隔列表在Content-Type标头中有效吗?

问题描述 投票:1回答:1

RSS feed provider最近开始在其响应标头中发送:

Content-type: application/rss+xml, text/xml; charset=UTF-8

为了支持这个提供者,我需要更改feed集成包中的一行(SimplePie

  1. 提供者“错了吗?”
  2. 更改社区维护的包以支持此标题是否“错误”?
http http-headers rss mime-types simplepie
1个回答
1
投票
  1. 是 - Content-Type不列出清单。显然有人把“内容类型”与“接受”混为一谈。
  2. 是。
© www.soinside.com 2019 - 2024. All rights reserved.