🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Rebel Emperor Tue, 20 Jul 2004 22:48
blank lines in headers
#69561
Author: Rebel Emperor
Date: Tue, 20 Jul 2004 22:48
3 lines
1023 bytes
Is this a gross breach of protocol, or have things moved on?

I don't know where else to ask. 
Re: blank lines in headers
#69554
Author: Russ Allbery
Date: Tue, 20 Jul 2004 22:57
20 lines
1958 bytes
Rebel Emperor <new.socks@once.more> writes:

> Is this a gross breach of protocol, or have things moved on?
> I don't know where else to ask. 

If you mean a line containing only whitespace in the middle of the
headers, it's a pretty bad idea since a lot of software won't deal with it
correctly, but it's technically legal in RFC 2822 and news software
probably *should* deal with it correctly under the general robustness
principal.

If you mean a completely blank line, it's impossible to have a completely
blank line in the headers.  A completely blank line is the end of the
headers, by definition.

-- 
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.
Re: blank lines in headers
#69556
Author: Rebel Emperor
Date: Tue, 20 Jul 2004 23:17
16 lines
1689 bytes
In article <87y8lewald.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:
>Rebel Emperor <new.socks@once.more> writes:
>
>> Is this a gross breach of protocol, or have things moved on?
>> I don't know where else to ask. 
>
>If you mean a line containing only whitespace in the middle of the
>headers, it's a pretty bad idea since a lot of software won't deal with it
>correctly, but it's technically legal in RFC 2822 and news software
>probably *should* deal with it correctly under the general robustness
>principal.

Argh. Thanks. I was assuming whitespace was blank.

<rolls eyes, tuts, feels old>
Re: blank lines in headers
#69651
Author: Bill Davidsen
Date: Tue, 03 Aug 2004 16:37
28 lines
2554 bytes
Russ Allbery wrote:
> Rebel Emperor <new.socks@once.more> writes:
> 
> 
>>Is this a gross breach of protocol, or have things moved on?
>>I don't know where else to ask. 
> 
> 
> If you mean a line containing only whitespace in the middle of the
> headers, it's a pretty bad idea since a lot of software won't deal with it
> correctly, but it's technically legal in RFC 2822 and news software
> probably *should* deal with it correctly under the general robustness
> principal.

Now I have to go check some of my software, I have the feeling that I 
may be treating a line with white space as the end of the headers.
> 
> If you mean a completely blank line, it's impossible to have a completely
> blank line in the headers.  A completely blank line is the end of the
> headers, by definition.
> 


-- 
bill davidsen (davidsen@darkstar.prodigy.com)
   SBC/Prodigy Yorktown Heights NY data center
   Project Leader, USENET news
   http://newsgroups.news.prodigy.com
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