Article View: news.software.nntp
Article #29338Re: How to seperate header from body?
From: Forrest J. Cavalier III
Date: Wed, 24 Jun 1998 00:00
Date: Wed, 24 Jun 1998 00:00
31 lines
1911 bytes
1911 bytes
Posted and emailed
In article <359207eb.28171678@news.reichardt.ch>, daniel@reichardt.ch wrote...
>
>I have a Usenet article saved in a text file just like I received it
>from my NNTP server using the ARTICLE command (including header lines).
>I could have used the commands HEAD and BODY, but I think the single
>ARTICLE command is faster (is that actually true?).
>
>How can a I tell where the header ends and the body begins? RFC977
>states that there should be an empty line between header and body. But
>most articles I get don't have this empty line and the body immediately
>follows the header.
[snip]
Perhaps you are doing something wrong? All *valid* Usenet articles
*always* have an empty line between the header and the body. (That is
what the news server software itself looks for when satisfying HEAD and
BODY requests.)
Find documentation for Usenet software developers organized at:
http://www.mibsoftware.com/userkt/forsoft.htm
Forrest J. Cavalier III, Mib Software, INN customization and consulting
'Pay-as-you-go' commercial support for INN: Only $64/hour!
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages: Free access!
http://www.mibsoftware.com/innsup.htm
Technical Details
Message-ID:
<6mr6q3$irm$1@news1.epix.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<359207eb.28171678@news.reichardt.ch>Show Full Headers
Complete Article Headers
Message-ID: <6mr6q3$irm$1@news1.epix.net> Subject: Re: How to seperate header from body? Date: Wed, 24 Jun 1998 00:00:00 +0000 From: mibsoft@mibsoftware.com (Forrest J. Cavalier III) References: <359207eb.28171678@news.reichardt.ch> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 365672257 Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII Organization: Mib Software Newsgroups: news.software.nntp,alt.usenet.offline-reader