🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61615

Re: What's the layout of the XOVER response?

#61615
From: Jeffrey M. Vinocur
Date: Thu, 24 Oct 2002 11:25
57 lines
2378 bytes
In article <sjifru0p9sgelhr6qnnmm5f1gvmu49cua1@4ax.com>,
Bas Ruiter  <lordsnow@home.nl> wrote:
>
>1. Which headers are always present? The usual obligatory 6?
>   May there be more (depending on what server)?

You can rely on these being present.  Any others will be :full,
which means that (like Xref) they will have the name of the
header before the data.

              Subject:
              From:
              Date:
              Message-ID:
              References:
              Bytes:
              Lines:
              Xref:full


>2. I noticed that per article, the headers + info are all on
>one line. Are the headers ALWAYS in the same order?

The initial ones are.  Others added can be in any order


><article #> <Subject> <From> <Date> <Msg-ID> <Lines> <???> <Xref>
>
>Whitespace seems to be TAB.

Delimiter is tab.  Other whitespace is part of whatever field it
belongs to (spaces are to be expected in Subject, From, Date,
References, and Xref).


> a. a correct e-mail address being present (a@b.c),

Not required.


> b. that no whitespace or @ appears in the Subject:
>

Not required.


>What's the <???> above?

You've got them out of order (Bytes, then Lines), and you forgot
about References.  (Visible as two tabs with nothing between them
if there is no References header.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <ap8lbs$1d1$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
References: <sjifru0p9sgelhr6qnnmm5f1gvmu49cua1@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <ap8lbs$1d1$1@puck.litech.org>
Subject: Re: What's the layout of the XOVER response?
Date: Thu, 24 Oct 2002 11:25:48 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <sjifru0p9sgelhr6qnnmm5f1gvmu49cua1@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 56
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1035458748 1441 208.48.41.224 (24 Oct 2002 11:25:48 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Thu, 24 Oct 2002 11:25:48 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)