🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86340

Specificities of header-only feeding

#86340
From: Julien ÉLIE
Date: Sat, 23 Aug 2014 20:15
34 lines
2589 bytes
Hi all,

I am currently looking at a patch that adds a header-only feeding 
capability to pullnews (a tool shipped with INN, that pulls news from 
one or several news servers and feed it to another).

As far as I know, when a header-only feed is used, every article must 
have a Bytes: header field, and a control message must be feeded 
entirely (with its body).  Only the headers, followed by a blank line, 
of articles other than control messages are fed.
Are there other specificities?

How should the Bytes: header field be computed for header-only feeds?
Is there a specification somewhere?

Especially:
- If an article already has one, should it be replaced by a new computed 
value?  (it may have been totally wrong, for instance Bytes: 1)

- If a Bytes: header field is added, should its value take into account 
the Bytes: header field itself?  (I believe it should not because if the 
reader then downloads the article, this header field will not be present.)

- Should the count use the same rules as the ones for the :bytes 
metadata?  (CRLF counts for two bytes, dot-stuffing not counted, 
terminating .CRLF not counted...)


Thanks for your points of view on these subjects,

-- 
Julien ÉLIE

« Timeo Danaos et dona ferentes. » (Laocoon de Virgile)
Technical Details
Message-ID: <ltasp4$vae$1@news.trigofacile.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.20141118.mbox.gz!buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!takemy.news.telefonica.de!feedme.news.telefonica.de!storethat.news.telefonica.de!telefonica.de!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.22.155-224-89.dsl.completel.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <ltasp4$vae$1@news.trigofacile.com>
Subject: Specificities of header-only feeding
Date: Sat, 23 Aug 2014 22:15:32 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!takemy.news.telefonica.de!feedme.news.telefonica.de!storethat.news.telefonica.de!telefonica.de!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.22.155-224-89.dsl.completel.net!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 23 Aug 2014 20:15:32 +0000 (UTC)
Injection-Info: news.trigofacile.com;
 posting-host="22.155-224-89.dsl.completel.net:89.224.155.22";
 logging-data="32078"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9;
Lines: 33