Article View: news.software.nntp
Article #51059Re: Maximum line length in response
From: Russ Allbery
Date: Wed, 07 Mar 2001 20:01
Date: Wed, 07 Mar 2001 20:01
22 lines
2079 bytes
2079 bytes
Mario Auer <mario.auer@gmx.net> writes:
> That's true. However, I could compose the response with only a few lines
> that have an arbitrary length. The point is, if I process such a
> response I have to provide means for handling very large line
> buffers. Although I think it is not very common to have line lengths
> exceeding even hundred characters. But from the programmer's point of
> view it would make life easier if that were explicitly stated somewhere
> (and maybe it is and I only don't know about it.)
The *body* of the article isn't subject to any line-length constraints
whatsoever. That's intentional. The body of the message could be
entirely one large line. (Most servers will reject really long headers,
though.) When reading the body of the message, you can't really think
about reading a line at a time.
--
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:
<yl1ys9fiwt.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.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<982nhm$1v2$1@fstgss02.tu-graz.ac.at> <ylzoey8ej2.fsf@windlord.stanford.edu> <98554j$988$1@fstgss02.tu-graz.ac.at>Show Full Headers
Complete Article Headers
Message-ID: <yl1ys9fiwt.fsf@windlord.stanford.edu> Subject: Re: Maximum line length in response Date: Wed, 07 Mar 2001 20:01:06 +0000 From: Russ Allbery <rra@stanford.edu> References: <982nhm$1v2$1@fstgss02.tu-graz.ac.at> <ylzoey8ej2.fsf@windlord.stanford.edu> <98554j$988$1@fstgss02.tu-graz.ac.at> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 21 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 983995266 23206 171.64.13.23 (7 Mar 2001 20:01:06 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)