gpt4 book ai didi

protocols - NNTP 中的标准 header 是什么?

转载 作者:行者123 更新时间:2023-12-02 23:00:47 25 4
gpt4 key购买 nike

查看 NNTP standard 后,我已经弄清楚如何从消息中提取标题,如何折叠标题以及如何将标题标签与标题文本分开。我找不到标准 NNTP header 的官方列表。该标准列出了主题、发件人、日期、消息 ID、引用,但没有列出我知道需要存在的

是否有所有官方 NNTP header 的官方列表?对于奖励分数,是否有常用的非官方标题列表?

编辑

我找到了list of standard headers 。是否有类似的非标准但常见的 header 列表?

最佳答案

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

Netnews Article Format RFC 5536 中明确提及了网络新闻其中列出了标题(以及定义它们的 RFC 页码):

      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

关于protocols - NNTP 中的标准 header 是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11895531/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com