🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by wazoo Tue, 12 Sep 2006 03:41
How parse XOVER?
#74231
Author: wazoo
Date: Tue, 12 Sep 2006 03:41
6 lines
1481 bytes
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?
Re: How parse XOVER?
#74230
Author: Russ Allbery
Date: Tue, 12 Sep 2006 03:48
18 lines
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads