NNTP 中的标准标头是什么? [英] What are the standard headers in NNTP?

查看:50
本文介绍了NNTP 中的标准标头是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在查看 NNTP 标准后,我想出了如何提取标题从邮件中,如何折叠标题,以及如何将标题标签与标题文本分开.我找不到标准 NNTP 标头的官方列表.标准列出了 Subject、From、Date、Message-id、Reference,但没有列出我知道需要的 Groups.

After looking at the NNTP standard, I have figured out how to extract a header from the message, how to fold headers, and how to separate the header label from the header text. What I can't find is an official list of standard NNTP headers. The standard lists Subject, From, Date, Message-id, Reference but not Groups which I know needs to be there.

是否有所有官方 NNTP 标头的官方列表?对于加分,是否有常用的非官方标题列表?

Is there an official list of all the official NNTP headers? For bonus marks, is there a list of commonly-used, unofficial headers?

编辑

我找到了标准标题列表.是否有类似的非标准但常见的标题列表?

I found the list of standard headers. Is there a similar list of non-standard, but common, headers?

推荐答案

您没有查看正确的 RFC,您链接到的是通用消息格式.

You are not looking at the correct RFC the one you link to is the general message format.

Netnews 在 Netnews 文章格式 RFC 5536 中得到了明确的解决,其中列出了标题(带有定义它们的 RFC 页码)为

Netnews is explicitly addressed in the Netnews Article Format RFC 5536 which lists the headers (with the page numbers of the RFC where they are defined) as

      3.1. Mandatory Header Fields ...................................10
           3.1.1. Date ...............................................11
           3.1.2. From ...............................................11
           3.1.3. Message-ID .........................................11
           3.1.4. Newsgroups .........................................13
           3.1.5. Path ...............................................14
           3.1.6. Subject ............................................16
      3.2. Optional Header Fields ....................................16
           3.2.1. Approved ...........................................17
           3.2.2. Archive ............................................17
           3.2.3. Control ............................................17
           3.2.4. Distribution .......................................18
           3.2.5. Expires ............................................19
           3.2.6. Followup-To ........................................19
           3.2.7. Injection-Date .....................................20
           3.2.8. Injection-Info .....................................20
           3.2.9. Organization .......................................22
           3.2.10. References ........................................22
           3.2.11. Summary ...........................................23
           3.2.12. Supersedes ........................................23
           3.2.13. User-Agent ........................................23
           3.2.14. Xref ..............................................24
      3.3. Obsolete Header Fields ....................................25
           3.3.1. Lines ..............................................25

这篇关于NNTP 中的标准标头是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆