内容类型标头的 RFC?

发布于 2024-07-15 18:23:06 字数 974 浏览 2 评论 0原文

我看过@ rfc 22312183。 处理多部分/相关的 mime 负载。

我试图破译以下内容在语法上是否正确,特别是第一个 Content-Type 的“start”属性,但我无法找到正确的 RFC。

Content-Type: multipart/related; boundary="=_34e1b39f5c290f66360ff510d4c38da4";  type="application/smil"; start="<cid:eaec2c30d892902b14044d57dbb6ff85>"



--=_34e1b39f5c290f66360ff510d4c38da4
Content-ID: <eaec2c30d892902b14044d57dbb6ff85>
Content-Type:  application/vnd.oma.drm.message; boundary=ihvdxymhvdhobklkqbcn;
 name="IrishJi2.dm";
Content-Disposition: attachment;
 filename="IrishJi2.dm";

--ihvdxymhvdhobklkqbcn
Content-Type: audio/mpeg
Content-Transfer-Encoding: binary

一些好奇的背景信息。 application/vnd.oma.drm.* 文件类型只是有效负载项(mp3、jpg 等)的包装器,它告诉蜂窝设备包装的文件将被视为受保护的有效负载,并且不允许其转发或转移无论如何,电话。 如果不是出于合同义务,我只会撕掉包装纸,发送有效负载,然后就高兴了,但这太容易了,而且可能是非法的。

I've looked @ rfc 2231 and 2183.
Dealing with a multipart/related mime payload.

I'm trying to decypher if the following is syntactically correct, specifically the "start" attribute for the first Content-Type, but I haven't been able to find the correct RFC.

Content-Type: multipart/related; boundary="=_34e1b39f5c290f66360ff510d4c38da4";  type="application/smil"; start="<cid:eaec2c30d892902b14044d57dbb6ff85>"



--=_34e1b39f5c290f66360ff510d4c38da4
Content-ID: <eaec2c30d892902b14044d57dbb6ff85>
Content-Type:  application/vnd.oma.drm.message; boundary=ihvdxymhvdhobklkqbcn;
 name="IrishJi2.dm";
Content-Disposition: attachment;
 filename="IrishJi2.dm";

--ihvdxymhvdhobklkqbcn
Content-Type: audio/mpeg
Content-Transfer-Encoding: binary

Some background information for the curious. application/vnd.oma.drm.* file types is just a wrapper around a payload item (mp3,jpg, etc) that tells cellular devices the wrapped file is to be considered protected payload and not to allow it to be forwarded or transfered off the phone in anyway. If not for contractual obligations I'd just rip the wrapper off, send the payload on, and be happy, but that is too easy and probably illegal.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不知所踪 2024-07-22 18:23:06

来自 RFC 2387(MIME 多部分/相关内容类型):

3.2。 启动参数

start 参数(如果给定)是复合对象“根”的 content-ID。 如果不存在,“根”是多部分/相关实体中的第一个主体部分。 “根”是应用程序首先处理的元素。

From RFC 2387 (The MIME Multipart/Related Content-type):

3.2. The Start Parameter

The start parameter, if given, is the content-ID of the compound object's "root". If not present the "root" is the first body part in the Multipart/Related entity. The "root" is the element the applications processes first.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文