Article View: news.software.nntp
Article #74230Re: How parse XOVER?
From: Russ Allbery
Date: Tue, 12 Sep 2006 03:48
Date: Tue, 12 Sep 2006 03:48
18 lines
1783 bytes
1783 bytes
wazoo <wazoo@your-mailbox.com> writes:
> Sorry if this is a really dumb question ... I'm just learning to write
> an NNTP client. When you do an XOVER, you seem to get space-delimited
> fields: subject, from, etc. But the subject and from themselves contain
> spaces.
> How is the NNTP client supposed to parse this data correctly?
See RFC 2980. Briefly, the appearance that the fields are space-separated
is incorrect. They're actually tab-separated, and any tabs in the
original fields are converted to spaces.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87pse1ycc2.fsf@windlord.stanford.edu>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!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<wazoo-168CFE.20412611092006@comcast.dca.giganews.com>Show Full Headers
Complete Article Headers
Message-ID: <87pse1ycc2.fsf@windlord.stanford.edu> Subject: Re: How parse XOVER? Date: Mon, 11 Sep 2006 20:48:29 -0700 From: Russ Allbery <rra@stanford.edu> References: <wazoo-168CFE.20412611092006@comcast.dca.giganews.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 18 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1158032909 18140 171.64.19.147 (12 Sep 2006 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux) Cancel-Lock: sha1:Ekfru3kfgBuM+9JJXxrn2dZ4FT0=