🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73156

Identify text messages and binaries

#73156
From: Philippe
Date: Tue, 31 Jan 2006 14:49
21 lines
1778 bytes
Good afternoon,

I have read RFC 977, 1036 and 2980 in order to understand the NNTP 
protocol but i have a problem for identifying the kind of the message : 
for example, when i select a group like alt.binaries.yyyyy, the 
messages attached to this newsgroup can be text message or binaries. 
Unfortunately, the header "content-type" is not mandatory and it's 
difficult for me to understand how i can identify the message (text or 
binary) ?

Is there a way to perform this operation (Xover only returns the fields 
described in overview.fmt) ? For example, get the n first bytes of the 
body in order to analyze it ? Do you know where i can find 
documentations ?

Thank you,

Regards,

Philippe.
Technical Details
Message-ID: <43df7917$0$21284$8fcfb975@news.wanadoo.fr>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!npeer.de.kpn-eurorings.net!proxad.net!fdn.fr!news.wanadoo.fr!news.wanadoo.fr!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <43df7917$0$21284$8fcfb975@news.wanadoo.fr>
Subject: Identify text messages and binaries
Date: Tue, 31 Jan 2006 15:49:59 +0100
From: Philippe
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!npeer.de.kpn-eurorings.net!proxad.net!fdn.fr!news.wanadoo.fr!news.wanadoo.fr!not-for-mail
Newsgroups: news.software.nntp
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Unison/1.7.2
Lines: 21
Organization: les newsgroups par Wanadoo
NNTP-Posting-Date: 31 Jan 2006 15:49:59 CET
NNTP-Posting-Host: 82.122.251.201
X-Trace: 1138718999 news.wanadoo.fr 21284 82.122.251.201:64981
X-Complaints-To: abuse@wanadoo.fr